#CCAFFB
Closest named color: Pale Violet (#CEAEFA). oklch(80.6% 0.109 301.5), rgb(204, 175, 251).
Aa
Black text reads best on this color (11.09:1).
About this color
#CCAFFB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.109 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.004 away. Black text reads best on it, at 11.09:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.109) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.09:1 |
| White text | 1.89:1 |
Values
| HEX | #CCAFFB |
| RGB | rgb(204, 175, 251) |
| HSL | hsl(263, 90%, 84%) |
| OKLCH | oklch(80.6% 0.109 301.5) |
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 #CCAFFB | 1.89:1 | Fails | Lc -40.2 | Non-text elements, placeholder text |
| Black text on #CCAFFB | 11.09:1 | AAA | Lc 67.9 | Content text, not long reading |
| #CCAFFB text on white | 1.89:1 | Fails | Lc 35.9 | Non-text elements, placeholder text |
| #CCAFFB text on black | 11.09:1 | AAA | Lc -66.6 | 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
#EDE5FC
oklch(93.5% 0.032 301.6)
-
Step 200
200
#E0D0FC
oklch(88.5% 0.062 301.7)
-
Step 300
300 (this color)
#CCAFFB
oklch(80.6% 0.109 301.5)
-
Step 400
400
#B582FA
oklch(70.7% 0.175 301.7)
-
Step 500
500
#A45CF7
oklch(63.1% 0.223 301.7)
-
Step 600
600
#9039E6
oklch(55.6% 0.243 301.6)
-
Step 700
700
#7B28C8
oklch(49.1% 0.226 301.7)
-
Step 800
800
#6325A2
oklch(42.7% 0.187 301.2)
-
Step 900
900
#512580
oklch(37.6% 0.146 301.9)
-
Step 950
950
#2F174B
oklch(26.9% 0.093 301.7)
#CCAFFB 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) | #9FBCFE | 0.065 |
| Deuteranopia (no green cones) | #A4BCF9 | 0.061 |
| Tritanopia (no blue cones) | #C4BBCA | 0.087 |
| Achromatopsia (no color) | #BCBCBC | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCAFFB
#CCAFFB
oklch(80.6% 0.109 301.5)
- #B4CB79
#B4CB79
oklch(80.6% 0.11 121.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 #CCAFFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.004
- Light Violet #D6B4FC ΔE 0.020
- Lilac #CEA2FD ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.040
- Baby Purple #CA9BF7 ΔE 0.049
- Plum #DDA0DD ΔE 0.052
- Light Periwinkle #C1C6FC ΔE 0.059
- Light Lavender #DFC5FE ΔE 0.064
Use #CCAFFB 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.