#CCA2ED
Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.113 309.5), rgb(204, 162, 237).
Aa
Black text reads best on this color (9.95:1).
About this color
#CCA2ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.113 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.024 away. Black text reads best on it, at 9.95:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 9.95:1 |
| White text | 2.10:1 |
Values
| HEX | #CCA2ED |
| RGB | rgb(204, 162, 237) |
| HSL | hsl(274, 68%, 78%) |
| OKLCH | oklch(77.7% 0.113 309.5) |
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 #CCA2ED | 2.10:1 | Fails | Lc -45.9 | Large or bold text, headings |
| Black text on #CCA2ED | 9.95:1 | AAA | Lc 62.7 | Content text, not long reading |
| #CCA2ED text on white | 2.10:1 | Fails | Lc 41.2 | Non-text elements, placeholder text |
| #CCA2ED text on black | 9.95:1 | AAA | Lc -61.0 | 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
#F8F3FD
oklch(97.1% 0.014 308.3)
-
Step 100
100
#F0E4FB
oklch(93.5% 0.033 309)
-
Step 200
200
#E6CEF9
oklch(88.5% 0.063 310.1)
-
Step 300
300 (this color)
#CCA2ED
oklch(77.7% 0.113 309.5)
-
Step 400
400
#C27CF4
oklch(70.7% 0.181 309.4)
-
Step 500
500
#B352F0
oklch(63.1% 0.232 309.5)
-
Step 600
600
#9F2ADE
oklch(55.6% 0.252 309.6)
-
Step 700
700
#8818C1
oklch(49.1% 0.234 309.5)
-
Step 800
800
#6E1A9C
oklch(42.7% 0.194 309.4)
-
Step 900
900
#591F7C
oklch(37.6% 0.151 309.4)
-
Step 950
950
#341449
oklch(26.9% 0.097 309.1)
#CCA2ED 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) | #95B1F0 | 0.081 |
| Deuteranopia (no green cones) | #9EB3EB | 0.075 |
| Tritanopia (no blue cones) | #C8ACBD | 0.082 |
| Achromatopsia (no color) | #B2B2B2 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCA2ED
#CCA2ED
oklch(77.7% 0.113 309.5)
- #9FC576
#9FC576
oklch(77.7% 0.113 129.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 #CCA2ED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.024
- Baby Purple #CA9BF7 ΔE 0.026
- Pastel Purple #CAA0FF ΔE 0.028
- Pale Violet #CEAEFA ΔE 0.031
- Plum #DDA0DD ΔE 0.034
- Light Violet #D6B4FC ΔE 0.049
- Liliac #C48EFD ΔE 0.062
- Pale Purple #B790D4 ΔE 0.063
Use #CCA2ED 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.