#ECB2FF
Closest named color: Light Violet (#D6B4FC). oklch(84.2% 0.121 317.6), rgb(236, 178, 255).
Aa
Black text reads best on this color (12.37:1).
About this color
#ECB2FF is a light, moderately saturated purple. In OKLCH its lightness is 84%, its chroma 0.121 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.034 away. Black text reads best on it, at 12.37:1.
| Hue family | Purples |
| Lightness | light (84%) |
| Chroma | moderately saturated (0.121) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 12.37:1 |
| White text | 1.69:1 |
Values
| HEX | #ECB2FF |
| RGB | rgb(236, 178, 255) |
| HSL | hsl(285, 100%, 85%) |
| OKLCH | oklch(84.2% 0.121 317.6) |
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 #ECB2FF | 1.69:1 | Fails | Lc -34.0 | Non-text elements, placeholder text |
| Black text on #ECB2FF | 12.37:1 | AAA | Lc 73.7 | Content text, not long reading |
| #ECB2FF text on white | 1.69:1 | Fails | Lc 30.2 | Non-text elements, placeholder text |
| #ECB2FF text on black | 12.37:1 | AAA | Lc -72.6 | Content text, not long reading |
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 300.
-
Step 50
50
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3FA
oklch(93.6% 0.036 317.3)
-
Step 200
200
#ECCCF7
oklch(88.5% 0.067 317.4)
-
Step 300
300 (this color)
#ECB2FF
oklch(84.2% 0.121 317.6)
-
Step 400
400
#D173EE
oklch(70.7% 0.194 317.7)
-
Step 500
500
#C343E8
oklch(63.1% 0.248 317.5)
-
Step 600
600
#AF02D6
oklch(55.6% 0.269 317.6)
-
Step 700
700
#9400B5
oklch(49.1% 0.238 317.8)
-
Step 800
800
#7A0096
oklch(42.7% 0.207 317.7)
-
Step 900
900
#621578
oklch(37.7% 0.162 317.2)
-
Step 950
950
#3A1046
oklch(27.1% 0.102 317.8)
#ECB2FF 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) | #A8C3FF | 0.099 |
| Deuteranopia (no green cones) | #B5C9FD | 0.092 |
| Tritanopia (no blue cones) | #ECBBCE | 0.080 |
| Achromatopsia (no color) | #C7C7C7 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECB2FF
#ECB2FF
oklch(84.2% 0.121 317.6)
- #A4DE8F
#A4DE8F
oklch(84.2% 0.122 137.7)
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 #ECB2FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.034
- Light Lavendar #EFC0FE ΔE 0.036
- Pale Violet #CEAEFA ΔE 0.048
- Light Lavender #DFC5FE ΔE 0.049
- Light Lilac #EDC8FF ΔE 0.055
- Pale Lilac #E4CBFF ΔE 0.062
- Plum #DDA0DD ΔE 0.063
- Lilac #CEA2FD ΔE 0.064
Use #ECB2FF 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.