#CFAFE3#CFAFE3
#CFAFE3 is a light, moderate violet. Relative luminance 0.495; OKLCH L 79.9% C 0.080 H 312.2°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAFE3 |
|---|---|
| RGB | rgb(207, 175, 227) |
| HSL | hsl(277, 48%, 79%) |
| HSV | hsv(277, 23%, 89%) |
| CMYK | cmyk(8.8%, 22.9%, 0%, 11%) |
| CIE-LAB | lab(75.74, 21.02, -21.77) |
| CIE-LCH | lch(75.74, 30.26, 313.99°) |
| OKLab | oklab(79.9% 0.0537 -0.0591) |
| OKLCH | oklch(79.9% 0.08 312.2) |
| XYZ | xyz(54.9249, 49.4720, 79.3137) |
| Luminance | 0.4947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 4.91
Pale Violet
#CEAEFA
ΔE00 5.63
Lilac
#C8A2C8
ΔE00 5.71
Light Lavender
#DFC5FE
ΔE00 5.73
Mauve
#E0B0FF
ΔE00 5.91
Plum
#DDA0DD
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAFE3 #C3E3AF
analogous
#B5AFE3 #CFAFE3 #E3AFDD
triadic
#CFAFE3 #E3CFAF #AFE3CF
tetradic
#CFAFE3 #E3B5AF #C3E3AF #AFDDE3
square
#CFAFE3 #E3B5AF #C3E3AF #AFDDE3
split-complementary
#CFAFE3 #DDE3AF #AFE3B5
monochromatic
#9954C3 #B482D3 #CFAFE3 #EADCF3 #F1E8F7
Accessibility & contrast
On white
1.93
#CFAFE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.89
#CFAFE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAFE3
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAFE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAFE3 | 1.00 | 1.93 | 10.89 | 10.89 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7B9E5
Deuteranopia (green-blind)
#AEBBE1
Tritanopia (blue-blind)
#CDB5C1
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cfafe3; /* rgb */ color: rgb(207, 175, 227); /* oklch */ color: oklch(79.9% 0.080 312.2);
Tailwind
colors: {
custom: {
50: '#dec7ec',
500: '#cfafe3',
950: '#000000',
},
}SCSS
$custom: #cfafe3; $custom-light: #dec7ec; $custom-dark: #000000;
JSON
{
"hex": "#cfafe3",
"rgb": {
"r": 207,
"g": 175,
"b": 227
},
"hsl": {
"h": 276.923,
"s": 48.148,
"l": 78.824
},
"oklch": {
"l": 0.79903,
"c": 0.07985,
"h": 312.2
},
"luminance": 0.49471
}Semantic roles & 50–950 ramp
primary
#CFAFE3
secondary
#E4EEDD
accent
#BB2A62
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284