#904ECE
Closest named color: Purpley (#8756E4). oklch(56.3% 0.192 304.7), rgb(144, 78, 206).
Aa
White text reads best on this color (5.03:1).
About this color
#904ECE is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.192 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.039 away. White text reads best on it, at 5.03:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.192) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.16:1 |
| White text | 5.03:1 |
Values
| HEX | #904ECE |
| RGB | rgb(144, 78, 206) |
| HSL | hsl(271, 57%, 56%) |
| OKLCH | oklch(56.3% 0.192 304.7) |
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 #904ECE | 5.03:1 | AA | Lc -79.7 | Fine for body text |
| Black text on #904ECE | 4.16:1 | AA large text | Lc 29.8 | Dividers and decoration only |
| #904ECE text on white | 5.03:1 | AA | Lc 74.3 | Content text, not long reading |
| #904ECE text on black | 4.16:1 | AA large text | Lc -27.4 | 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 600.
-
Step 50
50
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EDE6F8
oklch(93.6% 0.025 303.5)
-
Step 200
200
#E0D2F3
oklch(88.5% 0.047 304.6)
-
Step 300
300
#CDB3EE
oklch(80.9% 0.086 304.6)
-
Step 400
400
#B489E6
oklch(70.7% 0.139 304.4)
-
Step 500
500
#A268DE
oklch(63.1% 0.177 304.5)
-
Step 600
600 (this color)
#904ECE
oklch(56.3% 0.192 304.7)
-
Step 700
700
#793CB0
oklch(49.2% 0.178 304.8)
-
Step 800
800
#62328F
oklch(42.7% 0.149 304.6)
-
Step 900
900
#502E72
oklch(37.8% 0.115 304.6)
-
Step 950
950
#2F1B43
oklch(27% 0.074 305)
#904ECE 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) | #006DD2 | 0.158 |
| Deuteranopia (no green cones) | #2E6FCB | 0.143 |
| Tritanopia (no blue cones) | #856987 | 0.140 |
| Achromatopsia (no color) | #6F6F6F | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #904ECE
#904ECE
oklch(56.3% 0.192 304.7)
- #638200
#638200
oklch(56.2% 0.141 124.6)
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 #904ECE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.039
- Dark Orchid #9932CC ΔE 0.048
- Purply #983FB2 ΔE 0.052
- Amethyst #9B5FC0 ΔE 0.052
- Deep Lavender #8D5EB7 ΔE 0.053
- Light Indigo #6D5ACF ΔE 0.062
- Blue Violet #8A2BE2 ΔE 0.066
- Slate Blue #6A5ACD ΔE 0.067
Use #904ECE 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.