#CFA0F8#CFA0F8
#CFA0F8 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.1% C 0.131 H 308.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA0F8 |
|---|---|
| RGB | rgb(207, 160, 248) |
| HSL | hsl(272, 86%, 80%) |
| HSV | hsv(272, 35%, 97%) |
| CMYK | cmyk(16.5%, 35.5%, 0%, 2.7%) |
| CIE-LAB | lab(73.01, 33.59, -37.37) |
| CIE-LCH | lch(73.01, 50.25, 311.95°) |
| OKLab | oklab(78.07% 0.0809 -0.1032) |
| OKLCH | oklch(78.07% 0.131 308.1) |
| XYZ | xyz(55.2430, 45.1848, 94.6000) |
| Luminance | 0.4518 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.11
Baby Purple
#CA9BF7
ΔE00 1.49
Lavender (survey)
#C79FEF
ΔE00 1.82
Pastel Purple
#CAA0FF
ΔE00 2.04
Pale Violet
#CEAEFA
ΔE00 3.90
Mauve
#E0B0FF
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA0F8 #C9F8A0
analogous
#A3A0F8 #CFA0F8 #F8A0F5
triadic
#CFA0F8 #F8CFA0 #A0F8CF
tetradic
#CFA0F8 #F8A3A0 #C9F8A0 #A0F5F8
square
#CFA0F8 #F8A3A0 #C9F8A0 #A0F5F8
split-complementary
#CFA0F8 #F5F8A0 #A0F8A3
monochromatic
#952EF0 #B267F4 #CFA0F8 #ECD9FC #F1E2FD
Accessibility & contrast
On white
2.09
#CFA0F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.04
#CFA0F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA0F8
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA0F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA0F8 | 1.00 | 2.09 | 10.04 | 10.04 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB1FB
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#CAADC1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfa0f8; /* rgb */ color: rgb(207, 160, 248); /* oklch */ color: oklch(78.1% 0.131 308.1);
Tailwind
colors: {
custom: {
50: '#dfbcfb',
500: '#cfa0f8',
950: '#000000',
},
}SCSS
$custom: #cfa0f8; $custom-light: #dfbcfb; $custom-dark: #000000;
JSON
{
"hex": "#cfa0f8",
"rgb": {
"r": 207,
"g": 160,
"b": 248
},
"hsl": {
"h": 272.045,
"s": 86.275,
"l": 80
},
"oklch": {
"l": 0.78073,
"c": 0.13112,
"h": 308.1
},
"luminance": 0.45184
}Semantic roles & 50–950 ramp
primary
#CFA0F8
secondary
#E4F5D6
accent
#E3036B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185