colorspacious
A powerful, accurate, and easy-to-use Python library for doing colorspace conversions
What it is and what it does
Colorspacious converts colors between a range of colorspaces, from common standards like sRGB and XYZ to specialized perceptually uniform spaces like CIECAM02 and CAM02-UCS. It also includes simulations of color vision deficiency based on the Machado et al approach. The library automatically finds the optimal conversion path through intermediate colorspaces and applies all transformations in sequence, working with both single values and NumPy arrays.
The package depends only on NumPy and installs with low friction. However, it is abandoned—the last release was in 2018 and the last commit in 2019—so it will not receive updates, bug fixes, or compatibility maintenance. It remains functional for its core use case but carries the risk of incompatibility with future Python or NumPy versions.
Use it for:
- Convert RGB image pixels to perceptually uniform spaces for color analysis or image processing
- Simulate how colors appear to people with color vision deficiency for accessibility testing
- Transform colors between standard colorspaces (sRGB, XYZ, LAB) for color science workflows
- Batch-convert large image arrays across multiple colorspaces with automatic routing
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts colors between standard and specialized colorspaces (sRGB, XYZ, CIELab, CIECAM02, CAM02-UCS) and simulates color vision deficiency.
Yes, if you need colorspace conversion and color vision deficiency simulation and can accept an unmaintained package. The library is stable and has no known vulnerabilities, but verify compatibility with your current NumPy and Python versions before relying on it in production. For new projects, consider alternatives like the colour package if you need ongoing maintenance.
Install
colorspacious on PyPI
pip
pip install colorspaciousuv
uv add colorspaciouspoetry
poetry add colorspaciousInstalling colorspacious
Before you install
Low install friction with a single NumPy dependency. However, the package is abandoned—last release was 2018-04-08 and last commit 2019-11-12—so no maintenance or bug fixes should be expected going forward.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install colorspacious
from colorspacious import cspace_convert
Jp, ap, bp = cspace_convert([64, 128, 255], "sRGB255", "CAM02-UCS")
Verify before relying
- Whether the package works reliably with current NumPy versions (last tested in 2019)
- Whether Python 2 support is still relevant or if Python 3 is the practical baseline
- Whether color vision deficiency simulations match current research standards
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — numpy |
| Maintenance | abandoned — 3,050 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 142,331/month — #11,211 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: colorspacious-1.1.2-py2.py3-none-any.whl
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
colour-scienceColour provides algorithms and datasets for…
permissive · top 15,000 on PyPI
coloraideColorAide is a pure Python library for…
permissive · top 15,000 on PyPI
colormathColormath performs color space conversions,…
permissive · top 15,000 on PyPI
cmcrameriProvides perceptually uniform colormaps by…
permissive · top 15,000 on PyPI
cmweathercmweather provides a collection of colormaps…
permissive · top 15,000 on PyPI
colourConverts between and manipulates color…
permissive · top 5,000 on PyPI
colorcetColorcet provides a collection of perceptually…
unclear · top 5,000 on PyPI
colorzerocolorzero provides a simple, immutable color…
permissive · top 15,000 on PyPI
color-matchercolor-matcher transfers color characteristics…
copyleft · top 15,000 on PyPI
distinctipyGenerates lists of visually distinct colors of…
permissive · top 15,000 on PyPI