#CCABF8
Closest named color: Pale Violet (#CEAEFA). oklch(79.7% 0.112 303.6), rgb(204, 171, 248).
Aa
Black text reads best on this color (10.74:1).
About this color
#CCABF8 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.112 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.008 away. Black text reads best on it, at 10.74:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.74:1 |
| White text | 1.95:1 |
Values
| HEX | #CCABF8 |
| RGB | rgb(204, 171, 248) |
| HSL | hsl(266, 85%, 82%) |
| OKLCH | oklch(79.7% 0.112 303.6) |
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 #CCABF8 | 1.95:1 | Fails | Lc -41.9 | Non-text elements, placeholder text |
| Black text on #CCABF8 | 10.74:1 | AAA | Lc 66.4 | Content text, not long reading |
| #CCABF8 text on white | 1.95:1 | Fails | Lc 37.5 | Non-text elements, placeholder text |
| #CCABF8 text on black | 10.74:1 | AAA | Lc -64.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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EEE5FC
oklch(93.6% 0.032 303.5)
-
Step 200
200
#E1D0FB
oklch(88.5% 0.061 303.1)
-
Step 300
300 (this color)
#CCABF8
oklch(79.7% 0.112 303.6)
-
Step 400
400
#B980FA
oklch(70.7% 0.179 303.7)
-
Step 500
500
#A858F7
oklch(63.1% 0.229 303.6)
-
Step 600
600
#9433E6
oklch(55.6% 0.249 303.5)
-
Step 700
700
#7F22C8
oklch(49.2% 0.232 303.7)
-
Step 800
800
#6721A2
oklch(42.8% 0.192 303.6)
-
Step 900
900
#532380
oklch(37.6% 0.149 303.5)
-
Step 950
950
#31164B
oklch(27% 0.095 304.1)
#CCABF8 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) | #9BB9FB | 0.071 |
| Deuteranopia (no green cones) | #A1B9F6 | 0.066 |
| Tritanopia (no blue cones) | #C5B6C7 | 0.085 |
| Achromatopsia (no color) | #B9B9B9 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCABF8
#CCABF8
oklch(79.7% 0.112 303.6)
- #AEC977
#AEC977
oklch(79.7% 0.112 123.8)
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 #CCABF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.008
- Lilac #CEA2FD ΔE 0.025
- Light Violet #D6B4FC ΔE 0.028
- Pastel Purple #CAA0FF ΔE 0.032
- Baby Purple #CA9BF7 ΔE 0.040
- Plum #DDA0DD ΔE 0.046
- Light Periwinkle #C1C6FC ΔE 0.068
- Pastel Blue #A2BFFE ΔE 0.070
Use #CCABF8 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.