#CAA2F1
Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.117 307), rgb(202, 162, 241).
Aa
Black text reads best on this color (9.94:1).
About this color
#CAA2F1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.117 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.019 away. Black text reads best on it, at 9.94:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 9.94:1 |
| White text | 2.11:1 |
Values
| HEX | #CAA2F1 |
| RGB | rgb(202, 162, 241) |
| HSL | hsl(270, 74%, 79%) |
| OKLCH | oklch(77.7% 0.117 307) |
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 #CAA2F1 | 2.11:1 | Fails | Lc -45.9 | Large or bold text, headings |
| Black text on #CAA2F1 | 9.94:1 | AAA | Lc 62.7 | Content text, not long reading |
| #CAA2F1 text on white | 2.11:1 | Fails | Lc 41.3 | Non-text elements, placeholder text |
| #CAA2F1 text on black | 9.94: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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#F0E4FC
oklch(93.5% 0.034 308.1)
-
Step 200
200
#E4CEFC
oklch(88.4% 0.066 306.7)
-
Step 300
300 (this color)
#CAA2F1
oklch(77.7% 0.117 307)
-
Step 400
400
#C07BFA
oklch(70.7% 0.188 307.3)
-
Step 500
500
#B051F7
oklch(63.1% 0.239 307)
-
Step 600
600
#9C26E6
oklch(55.6% 0.261 307)
-
Step 700
700
#8612C8
oklch(49.2% 0.243 307.2)
-
Step 800
800
#6C17A2
oklch(42.7% 0.201 306.7)
-
Step 900
900
#581E80
oklch(37.7% 0.157 307.3)
-
Step 950
950
#33144B
oklch(27% 0.099 306.8)
#CAA2F1 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) | #93B1F4 | 0.080 |
| Deuteranopia (no green cones) | #9BB3EF | 0.075 |
| Tritanopia (no blue cones) | #C5ADBF | 0.087 |
| Achromatopsia (no color) | #B2B2B2 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CAA2F1
#CAA2F1
oklch(77.7% 0.117 307)
- #A2C470
#A2C470
oklch(77.6% 0.117 127)
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 #CAA2F1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.019
- Baby Purple #CA9BF7 ΔE 0.021
- Pastel Purple #CAA0FF ΔE 0.022
- Pale Violet #CEAEFA ΔE 0.031
- Plum #DDA0DD ΔE 0.040
- Light Violet #D6B4FC ΔE 0.049
- Liliac #C48EFD ΔE 0.057
- Pale Purple #B790D4 ΔE 0.064
Use #CAA2F1 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.