#CFAFE4#CFAFE4
#CFAFE4 is a light, moderate violet. Relative luminance 0.495; OKLCH L 79.9% C 0.081 H 311.8°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAFE4 |
|---|---|
| RGB | rgb(207, 175, 228) |
| HSL | hsl(276, 50%, 79%) |
| HSV | hsv(276, 23%, 89%) |
| CMYK | cmyk(9.2%, 23.2%, 0%, 10.6%) |
| CIE-LAB | lab(75.78, 21.22, -22.26) |
| CIE-LCH | lch(75.78, 30.76, 313.62°) |
| OKLab | oklab(79.94% 0.054 -0.0605) |
| OKLCH | oklch(79.94% 0.081 311.8) |
| XYZ | xyz(55.0633, 49.5273, 80.0427) |
| Luminance | 0.4953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 4.67
Pale Violet
#CEAEFA
ΔE00 5.37
Light Lavender
#DFC5FE
ΔE00 5.64
Mauve
#E0B0FF
ΔE00 5.69
Lilac
#C8A2C8
ΔE00 5.92
Plum
#DDA0DD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAFE4 #C4E4AF
analogous
#B5AFE4 #CFAFE4 #E4AFDF
triadic
#CFAFE4 #E4CFAF #AFE4CF
tetradic
#CFAFE4 #E4B5AF #C4E4AF #AFDFE4
square
#CFAFE4 #E4B5AF #C4E4AF #AFDFE4
split-complementary
#CFAFE4 #DFE4AF #AFE4B5
monochromatic
#9853C5 #B481D5 #CFAFE4 #EADDF3 #F1E8F7
Accessibility & contrast
On white
1.93
#CFAFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.91
#CFAFE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAFE4
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAFE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAFE4 | 1.00 | 1.93 | 10.91 | 10.91 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7B9E6
Deuteranopia (green-blind)
#AEBBE2
Tritanopia (blue-blind)
#CDB5C1
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cfafe4; /* rgb */ color: rgb(207, 175, 228); /* oklch */ color: oklch(79.9% 0.081 311.8);
Tailwind
colors: {
custom: {
50: '#dec7ec',
500: '#cfafe4',
950: '#000000',
},
}SCSS
$custom: #cfafe4; $custom-light: #dec7ec; $custom-dark: #000000;
JSON
{
"hex": "#cfafe4",
"rgb": {
"r": 207,
"g": 175,
"b": 228
},
"hsl": {
"h": 276.226,
"s": 49.533,
"l": 79.02
},
"oklch": {
"l": 0.79941,
"c": 0.08108,
"h": 311.8
},
"luminance": 0.49527
}Semantic roles & 50–950 ramp
primary
#CFAFE4
secondary
#E4EEDD
accent
#BD2963
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284