#CCABF7
Closest named color: Pale Violet (#CEAEFA). oklch(79.7% 0.111 303.9), rgb(204, 171, 247).
Aa
Black text reads best on this color (10.73:1).
About this color
#CCABF7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.111 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.009 away. Black text reads best on it, at 10.73:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.73:1 |
| White text | 1.95:1 |
Values
| HEX | #CCABF7 |
| RGB | rgb(204, 171, 247) |
| HSL | hsl(266, 83%, 82%) |
| OKLCH | oklch(79.7% 0.111 303.9) |
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 #CCABF7 | 1.95:1 | Fails | Lc -42.0 | Non-text elements, placeholder text |
| Black text on #CCABF7 | 10.73:1 | AAA | Lc 66.3 | Content text, not long reading |
| #CCABF7 text on white | 1.95:1 | Fails | Lc 37.6 | Non-text elements, placeholder text |
| #CCABF7 text on black | 10.73:1 | AAA | Lc -64.8 | 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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EEE5FC
oklch(93.6% 0.032 303.5)
-
Step 200
200
#E2D0FB
oklch(88.6% 0.061 304.2)
-
Step 300
300 (this color)
#CCABF7
oklch(79.7% 0.111 303.9)
-
Step 400
400
#B980F9
oklch(70.7% 0.178 304)
-
Step 500
500
#A859F6
oklch(63.1% 0.226 303.7)
-
Step 600
600
#9435E4
oklch(55.6% 0.245 303.8)
-
Step 700
700
#7F24C6
oklch(49.1% 0.228 304.1)
-
Step 800
800
#6722A0
oklch(42.7% 0.189 304.1)
-
Step 900
900
#53247F
oklch(37.7% 0.147 303.7)
-
Step 950
950
#31174B
oklch(27.2% 0.093 303.8)
#CCABF7 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) | #9BB8FA | 0.070 |
| Deuteranopia (no green cones) | #A2B9F5 | 0.065 |
| Tritanopia (no blue cones) | #C5B6C6 | 0.085 |
| Achromatopsia (no color) | #B9B9B9 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCABF7
#CCABF7
oklch(79.7% 0.111 303.9)
- #AEC978
#AEC978
oklch(79.7% 0.11 123.9)
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 #CCABF7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.009
- Lilac #CEA2FD ΔE 0.026
- Light Violet #D6B4FC ΔE 0.028
- Pastel Purple #CAA0FF ΔE 0.033
- Baby Purple #CA9BF7 ΔE 0.040
- Plum #DDA0DD ΔE 0.045
- Light Periwinkle #C1C6FC ΔE 0.067
- Pastel Blue #A2BFFE ΔE 0.070
Use #CCABF7 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.