#CAA2EF
Closest named color: Lilac (#CEA2FD). oklch(77.6% 0.115 307.7), rgb(202, 162, 239).
Aa
Black text reads best on this color (9.92:1).
About this color
#CAA2EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.115 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.021 away. Black text reads best on it, at 9.92:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.115) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 9.92:1 |
| White text | 2.11:1 |
Values
| HEX | #CAA2EF |
| RGB | rgb(202, 162, 239) |
| HSL | hsl(271, 71%, 79%) |
| OKLCH | oklch(77.6% 0.115 307.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 #CAA2EF | 2.11:1 | Fails | Lc -46.0 | Large or bold text, headings |
| Black text on #CAA2EF | 9.92:1 | AAA | Lc 62.6 | Content text, not long reading |
| #CAA2EF text on white | 2.11:1 | Fails | Lc 41.4 | Non-text elements, placeholder text |
| #CAA2EF text on black | 9.92:1 | AAA | Lc -60.9 | 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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#F0E4FC
oklch(93.5% 0.034 308.1)
-
Step 200
200
#E5CFFB
oklch(88.6% 0.064 307.7)
-
Step 300
300 (this color)
#CAA2EF
oklch(77.6% 0.115 307.7)
-
Step 400
400
#C07CF8
oklch(70.7% 0.185 307.7)
-
Step 500
500
#B052F4
oklch(63% 0.235 307.6)
-
Step 600
600
#9C2AE3
oklch(55.6% 0.256 307.5)
-
Step 700
700
#8617C5
oklch(49.2% 0.238 307.8)
-
Step 800
800
#6D1A9F
oklch(42.8% 0.196 307.9)
-
Step 900
900
#581F7E
oklch(37.6% 0.153 308)
-
Step 950
950
#33144A
oklch(26.9% 0.098 307.4)
#CAA2EF 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) | #93B1F2 | 0.080 |
| Deuteranopia (no green cones) | #9CB3ED | 0.074 |
| Tritanopia (no blue cones) | #C5ADBE | 0.085 |
| Achromatopsia (no color) | #B2B2B2 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CAA2EF
#CAA2EF
oklch(77.6% 0.115 307.7)
- #A1C472
#A1C472
oklch(77.6% 0.115 127.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 #CAA2EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.021
- Baby Purple #CA9BF7 ΔE 0.023
- Pastel Purple #CAA0FF ΔE 0.025
- Pale Violet #CEAEFA ΔE 0.031
- Plum #DDA0DD ΔE 0.038
- Light Violet #D6B4FC ΔE 0.050
- Liliac #C48EFD ΔE 0.059
- Pale Purple #B790D4 ΔE 0.063
Use #CAA2EF 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.