#CCAFF4
Closest named color: Pale Violet (#CEAEFA). oklch(80.3% 0.1 303.5), rgb(204, 175, 244).
Aa
Black text reads best on this color (11.00:1).
About this color
#CCAFF4 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.100 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.010 away. Black text reads best on it, at 11.00:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 11.00:1 |
| White text | 1.90:1 |
Values
| HEX | #CCAFF4 |
| RGB | rgb(204, 175, 244) |
| HSL | hsl(265, 76%, 82%) |
| OKLCH | oklch(80.3% 0.1 303.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 #CCAFF4 | 1.90:1 | Fails | Lc -40.6 | Non-text elements, placeholder text |
| Black text on #CCAFF4 | 11.00:1 | AAA | Lc 67.5 | Content text, not long reading |
| #CCAFF4 text on white | 1.90:1 | Fails | Lc 36.4 | Non-text elements, placeholder text |
| #CCAFF4 text on black | 11.00:1 | AAA | Lc -66.1 | 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
#F7F3FD
oklch(97% 0.014 304.1)
-
Step 100
100
#EEE6FA
oklch(93.7% 0.028 303.9)
-
Step 200
200
#E0D1F8
oklch(88.5% 0.055 302.8)
-
Step 300
300 (this color)
#CCAFF4
oklch(80.3% 0.1 303.5)
-
Step 400
400
#B685F1
oklch(70.8% 0.159 303.5)
-
Step 500
500
#A560EC
oklch(63.1% 0.205 303.8)
-
Step 600
600
#9041DB
oklch(55.6% 0.223 303.2)
-
Step 700
700
#7B31BE
oklch(49.2% 0.207 303.3)
-
Step 800
800
#642A99
oklch(42.6% 0.172 303.7)
-
Step 900
900
#51297A
oklch(37.7% 0.133 303.3)
-
Step 950
950
#2F1947
oklch(26.9% 0.084 303.3)
#CCAFF4 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) | #A1BBF7 | 0.062 |
| Deuteranopia (no green cones) | #A7BCF2 | 0.058 |
| Tritanopia (no blue cones) | #C6B9C7 | 0.078 |
| Achromatopsia (no color) | #BCBCBC | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCAFF4
#CCAFF4
oklch(80.3% 0.1 303.5)
- #B2CA81
#B2CA81
oklch(80.4% 0.1 123.4)
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 #CCAFF4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.010
- Light Violet #D6B4FC ΔE 0.022
- Lilac #CEA2FD ΔE 0.038
- Pastel Purple #CAA0FF ΔE 0.045
- Plum #DDA0DD ΔE 0.047
- Baby Purple #CA9BF7 ΔE 0.052
- Light Periwinkle #C1C6FC ΔE 0.057
- Light Lavender #DFC5FE ΔE 0.063
Use #CCAFF4 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.