#CFB2EB#CFB2EB
#CFB2EB is a light, moderate violet. Relative luminance 0.511; OKLCH L 80.8% C 0.085 H 307.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2EB |
|---|---|
| RGB | rgb(207, 178, 235) |
| HSL | hsl(271, 59%, 81%) |
| HSV | hsv(271, 24%, 92%) |
| CMYK | cmyk(11.9%, 24.3%, 0%, 7.8%) |
| CIE-LAB | lab(76.74, 21.02, -24.59) |
| CIE-LCH | lch(76.74, 32.35, 310.53°) |
| OKLab | oklab(80.76% 0.0517 -0.067) |
| OKLCH | oklch(80.76% 0.085 307.7) |
| XYZ | xyz(56.6452, 51.1047, 85.4612) |
| Luminance | 0.5110 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.34
Pale Violet
#CEAEFA
ΔE00 4.13
Light Lavender
#DFC5FE
ΔE00 4.63
Mauve
#E0B0FF
ΔE00 5.00
Light Lavendar
#EFC0FE
ΔE00 5.97
Pale Lilac
#E4CBFF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2EB #CEEBB2
analogous
#B2B2EB #CFB2EB #EBB2EA
triadic
#CFB2EB #EBCFB2 #B2EBCF
tetradic
#CFB2EB #EBB2B2 #CEEBB2 #B2EAEB
square
#CFB2EB #EBB2B2 #CEEBB2 #B2EAEB
split-complementary
#CFB2EB #EAEBB2 #B2EBB2
monochromatic
#9251D2 #B181DE #CFB2EB #EDE3F8 #F0E7F9
Accessibility & contrast
On white
1.87
#CFB2EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.22
#CFB2EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2EB
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2EB | 1.00 | 1.87 | 11.22 | 11.22 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8BCED
Deuteranopia (green-blind)
#AEBEE9
Tritanopia (blue-blind)
#CCBAC6
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #cfb2eb; /* rgb */ color: rgb(207, 178, 235); /* oklch */ color: oklch(80.8% 0.085 307.7);
Tailwind
colors: {
custom: {
50: '#dec9f1',
500: '#cfb2eb',
950: '#000000',
},
}SCSS
$custom: #cfb2eb; $custom-light: #dec9f1; $custom-dark: #000000;
JSON
{
"hex": "#cfb2eb",
"rgb": {
"r": 207,
"g": 178,
"b": 235
},
"hsl": {
"h": 270.526,
"s": 58.763,
"l": 80.98
},
"oklch": {
"l": 0.80764,
"c": 0.08466,
"h": 307.7
},
"luminance": 0.51104
}Semantic roles & 50–950 ramp
primary
#CFB2EB
secondary
#A0C77A
accent
#C61F71
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285