#CFA2FB#CFA2FB
#CFA2FB is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.6% C 0.131 H 306.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2FB |
|---|---|
| RGB | rgb(207, 162, 251) |
| HSL | hsl(270, 92%, 81%) |
| HSV | hsv(270, 35%, 98%) |
| CMYK | cmyk(17.5%, 35.5%, 0%, 1.6%) |
| CIE-LAB | lab(73.59, 33.15, -38.10) |
| CIE-LCH | lch(73.59, 50.50, 311.03°) |
| OKLab | oklab(78.55% 0.0788 -0.1053) |
| OKLCH | oklch(78.55% 0.131 306.8) |
| XYZ | xyz(56.0617, 46.0715, 97.1874) |
| Luminance | 0.4607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.52
Pastel Purple
#CAA0FF
ΔE00 1.64
Baby Purple
#CA9BF7
ΔE00 1.78
Lavender (survey)
#C79FEF
ΔE00 2.09
Pale Violet
#CEAEFA
ΔE00 3.48
Mauve
#E0B0FF
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2FB #CEFBA2
analogous
#A2A2FB #CFA2FB #FBA2FB
triadic
#CFA2FB #FBCFA2 #A2FBCF
tetradic
#CFA2FB #FBA2A2 #CEFBA2 #A2FBFB
square
#CFA2FB #FBA2A2 #CEFBA2 #A2FBFB
split-complementary
#CFA2FB #FBFBA2 #A2FBA2
monochromatic
#922DF6 #B167F8 #CFA2FB #EDDDFE #F0E2FE
Accessibility & contrast
On white
2.06
#CFA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#CFA2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2FB
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2FB | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B3FE
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#C9AFC3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfa2fb; /* rgb */ color: rgb(207, 162, 251); /* oklch */ color: oklch(78.6% 0.131 306.8);
Tailwind
colors: {
custom: {
50: '#dfbefd',
500: '#cfa2fb',
950: '#000000',
},
}SCSS
$custom: #cfa2fb; $custom-light: #dfbefd; $custom-dark: #000000;
JSON
{
"hex": "#cfa2fb",
"rgb": {
"r": 207,
"g": 162,
"b": 251
},
"hsl": {
"h": 270.337,
"s": 91.753,
"l": 80.98
},
"oklch": {
"l": 0.78553,
"c": 0.13147,
"h": 306.8
},
"luminance": 0.46071
}Semantic roles & 50–950 ramp
primary
#CFA2FB
secondary
#E5F6D5
accent
#E60071
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185