#900CB9
Closest named color: Dark Violet (#9400D3). oklch(49.1% 0.236 315), rgb(144, 12, 185).
Aa
White text reads best on this color (7.14:1).
About this color
#900CB9 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.236 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Violet (#9400D3), ΔE 0.041 away. White text reads best on it, at 7.14:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.236) |
| Temperature | in between |
| Nearest name | Dark Violet (#9400D3) |
| Black text | 2.93:1 |
| White text | 7.14:1 |
Values
| HEX | #900CB9 |
| RGB | rgb(144, 12, 185) |
| HSL | hsl(286, 88%, 39%) |
| OKLCH | oklch(49.1% 0.236 315) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #900CB9 | 7.14:1 | AAA | Lc -87.8 | Fine for body text |
| Black text on #900CB9 | 2.93:1 | Fails | Lc 21.2 | Dividers and decoration only |
| #900CB9 text on white | 7.14:1 | AAA | Lc 82.8 | Fine for body text |
| #900CB9 text on black | 2.93:1 | Fails | Lc -19.1 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4F9
oklch(93.6% 0.032 314.7)
-
Step 200
200
#E9CDF7
oklch(88.5% 0.064 314.5)
-
Step 300
300
#DDAAF3
oklch(80.9% 0.114 315.4)
-
Step 400
400
#CA78ED
oklch(70.6% 0.182 315)
-
Step 500
500
#BC4DE7
oklch(63.1% 0.233 315)
-
Step 600
600
#A821D5
oklch(55.6% 0.254 315.1)
-
Step 700
700 (this color)
#900CB9
oklch(49.1% 0.236 315)
-
Step 800
800
#751496
oklch(42.8% 0.195 314.9)
-
Step 900
900
#5E1C77
oklch(37.6% 0.152 314.8)
-
Step 950
950
#371346
oklch(27% 0.096 314.4)
#900CB9 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0051BD | 0.203 |
| Deuteranopia (no green cones) | #005BB6 | 0.208 |
| Tritanopia (no blue cones) | #8C416C | 0.151 |
| Achromatopsia (no color) | #585858 | 0.238 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #900CB9
#900CB9
oklch(49.1% 0.236 315)
- #397100
#397100
oklch(49.1% 0.143 134.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #900CB9, closest first.
No curated palette has a color within ΔE 0.04 of #900CB9.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Violet #9400D3 ΔE 0.041
- Dark Orchid #9932CC ΔE 0.052
- Grape #7209B7 ΔE 0.063
- Purply #983FB2 ΔE 0.067
- Blue Violet #8A2BE2 ΔE 0.073
- Dark Magenta #8B008B ΔE 0.074
- Vibrant Purple #AD03DE ΔE 0.078
- Warm Purple #952E8F ΔE 0.080
Use #900CB9 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.