#CFB2F9#CFB2F9
#CFB2F9 is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.3% C 0.103 H 302.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2F9 |
|---|---|
| RGB | rgb(207, 178, 249) |
| HSL | hsl(265, 86%, 84%) |
| HSV | hsv(265, 29%, 98%) |
| CMYK | cmyk(16.9%, 28.5%, 0%, 2.4%) |
| CIE-LAB | lab(77.25, 23.98, -31.36) |
| CIE-LCH | lch(77.25, 39.48, 307.40°) |
| OKLab | oklab(81.32% 0.0557 -0.0861) |
| OKLCH | oklch(81.32% 0.103 302.9) |
| XYZ | xyz(58.7479, 51.9458, 96.5357) |
| Luminance | 0.5195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.25
Light Violet
#D6B4FC
ΔE00 1.36
Mauve
#E0B0FF
ΔE00 3.82
Lilac (survey)
#CEA2FD
ΔE00 4.80
Lavender (survey)
#C79FEF
ΔE00 4.81
Light Lavender
#DFC5FE
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2F9 #DCF9B2
analogous
#B2B8F9 #CFB2F9 #F2B2F9
triadic
#CFB2F9 #F9CFB2 #B2F9CF
tetradic
#CFB2F9 #F9B2B8 #DCF9B2 #B2F9F2
square
#CFB2F9 #F9B2B8 #DCF9B2 #B2F9F2
split-complementary
#CFB2F9 #F9F2B2 #B8F9B2
monochromatic
#8840F0 #AC79F5 #CFB2F9 #EDE3FD #EDE3FD
Accessibility & contrast
On white
1.84
#CFB2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#CFB2F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2F9
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2F9 | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4BEFC
Deuteranopia (green-blind)
#A9BFF7
Tritanopia (blue-blind)
#C8BCCB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfb2f9; /* rgb */ color: rgb(207, 178, 249); /* oklch */ color: oklch(81.3% 0.103 302.9);
Tailwind
colors: {
custom: {
50: '#dec9fb',
500: '#cfb2f9',
950: '#000000',
},
}SCSS
$custom: #cfb2f9; $custom-light: #dec9fb; $custom-dark: #000000;
JSON
{
"hex": "#cfb2f9",
"rgb": {
"r": 207,
"g": 178,
"b": 249
},
"hsl": {
"h": 264.507,
"s": 85.542,
"l": 83.725
},
"oklch": {
"l": 0.8132,
"c": 0.10258,
"h": 302.9
},
"luminance": 0.51946
}Semantic roles & 50–950 ramp
primary
#CFB2F9
secondary
#B1DC73
accent
#E20387
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285