#CFA2F7#CFA2F7
#CFA2F7 is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.4% C 0.127 H 308.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2F7 |
|---|---|
| RGB | rgb(207, 162, 247) |
| HSL | hsl(272, 84%, 80%) |
| HSV | hsv(272, 34%, 97%) |
| CMYK | cmyk(16.2%, 34.4%, 0%, 3.1%) |
| CIE-LAB | lab(73.43, 32.29, -36.18) |
| CIE-LCH | lch(73.43, 48.49, 311.74°) |
| OKLab | oklab(78.38% 0.0779 -0.0998) |
| OKLCH | oklch(78.38% 0.127 308) |
| XYZ | xyz(55.4378, 45.8220, 93.9017) |
| Luminance | 0.4582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.28
Lavender (survey)
#C79FEF
ΔE00 1.65
Baby Purple
#CA9BF7
ΔE00 2.01
Pastel Purple
#CAA0FF
ΔE00 2.33
Pale Violet
#CEAEFA
ΔE00 3.35
Mauve
#E0B0FF
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2F7 #CAF7A2
analogous
#A5A2F7 #CFA2F7 #F7A2F4
triadic
#CFA2F7 #F7CFA2 #A2F7CF
tetradic
#CFA2F7 #F7A5A2 #CAF7A2 #A2F4F7
square
#CFA2F7 #F7A5A2 #CAF7A2 #A2F4F7
split-complementary
#CFA2F7 #F4F7A2 #A2F7A5
monochromatic
#9531ED #B26AF2 #CFA2F7 #ECDAFC #F0E3FD
Accessibility & contrast
On white
2.07
#CFA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CFA2F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2F7
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2F7 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B2FA
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#CAAEC1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfa2f7; /* rgb */ color: rgb(207, 162, 247); /* oklch */ color: oklch(78.4% 0.127 308.0);
Tailwind
colors: {
custom: {
50: '#debefa',
500: '#cfa2f7',
950: '#000000',
},
}SCSS
$custom: #cfa2f7; $custom-light: #debefa; $custom-dark: #000000;
JSON
{
"hex": "#cfa2f7",
"rgb": {
"r": 207,
"g": 162,
"b": 247
},
"hsl": {
"h": 271.765,
"s": 84.158,
"l": 80.196
},
"oklch": {
"l": 0.78376,
"c": 0.12656,
"h": 308
},
"luminance": 0.45821
}Semantic roles & 50–950 ramp
primary
#CFA2F7
secondary
#E5F5D6
accent
#E1056C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185