#CCAFE9
Closest named color: Pale Violet (#CEAEFA). oklch(79.9% 0.086 307.3), rgb(204, 175, 233).
Aa
Black text reads best on this color (10.87:1).
About this color
#CCAFE9 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.086 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.026 away. Black text reads best on it, at 10.87:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.086) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.87:1 |
| White text | 1.93:1 |
Values
| HEX | #CCAFE9 |
| RGB | rgb(204, 175, 233) |
| HSL | hsl(270, 57%, 80%) |
| OKLCH | oklch(79.9% 0.086 307.3) |
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 #CCAFE9 | 1.93:1 | Fails | Lc -41.3 | Non-text elements, placeholder text |
| Black text on #CCAFE9 | 10.87:1 | AAA | Lc 66.9 | Content text, not long reading |
| #CCAFE9 text on white | 1.93:1 | Fails | Lc 37.0 | Non-text elements, placeholder text |
| #CCAFE9 text on black | 10.87:1 | AAA | Lc -65.5 | 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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E1D1F2
oklch(88.4% 0.048 307.2)
-
Step 300
300 (this color)
#CCAFE9
oklch(79.9% 0.086 307.3)
-
Step 400
400
#B788E3
oklch(70.7% 0.137 307)
-
Step 500
500
#A667DB
oklch(63.2% 0.176 307.2)
-
Step 600
600
#914AC8
oklch(55.5% 0.192 307.2)
-
Step 700
700
#7C3AAD
oklch(49.1% 0.179 307.4)
-
Step 800
800
#65318C
oklch(42.7% 0.148 307.6)
-
Step 900
900
#522D70
oklch(37.7% 0.115 307.3)
-
Step 950
950
#301B42
oklch(27% 0.073 307)
#CCAFE9 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) | #A5B9EB | 0.056 |
| Deuteranopia (no green cones) | #ABBBE7 | 0.053 |
| Tritanopia (no blue cones) | #C8B7C3 | 0.065 |
| Achromatopsia (no color) | #BABABA | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCAFE9
#CCAFE9
oklch(79.9% 0.086 307.3)
- #AEC88C
#AEC88C
oklch(79.8% 0.086 127.3)
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 #CCAFE9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.026
- Light Violet #D6B4FC ΔE 0.032
- Plum #DDA0DD ΔE 0.042
- Lilac #CEA2FD ΔE 0.049
- Pastel Purple #CAA0FF ΔE 0.056
- Light Periwinkle #C1C6FC ΔE 0.057
- Thistle #D8BFD8 ΔE 0.058
- Baby Purple #CA9BF7 ΔE 0.060
Use #CCAFE9 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.