#CFB2FE#CFB2FE
#CFB2FE is a light, moderate violet. Relative luminance 0.523; OKLCH L 81.5% C 0.109 H 301.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2FE |
|---|---|
| RGB | rgb(207, 178, 254) |
| HSL | hsl(263, 97%, 85%) |
| HSV | hsv(263, 30%, 100%) |
| CMYK | cmyk(18.5%, 29.9%, 0%, 0.4%) |
| CIE-LAB | lab(77.44, 25.07, -33.76) |
| CIE-LCH | lch(77.44, 42.05, 306.60°) |
| OKLab | oklab(81.53% 0.057 -0.0929) |
| OKLCH | oklch(81.53% 0.109 301.5) |
| XYZ | xyz(59.5382, 52.2619, 100.6976) |
| Luminance | 0.5226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.10
Light Violet
#D6B4FC
ΔE00 1.87
Mauve
#E0B0FF
ΔE00 3.99
Lilac (survey)
#CEA2FD
ΔE00 4.38
Lavender (survey)
#C79FEF
ΔE00 4.84
Pastel Purple
#CAA0FF
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2FE #E1FEB2
analogous
#B2BBFE #CFB2FE #F5B2FE
triadic
#CFB2FE #FECFB2 #B2FECF
tetradic
#CFB2FE #FEB2BB #E1FEB2 #B2FEF5
square
#CFB2FE #FEB2BB #E1FEB2 #B2FEF5
split-complementary
#CFB2FE #FEF5B2 #BBFEB2
monochromatic
#8439FC #A976FD #CFB2FE #ECE1FF #ECE1FF
Accessibility & contrast
On white
1.83
#CFB2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFB2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2FE
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2FE | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#C7BDCD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfb2fe; /* rgb */ color: rgb(207, 178, 254); /* oklch */ color: oklch(81.5% 0.109 301.5);
Tailwind
colors: {
custom: {
50: '#dec9ff',
500: '#cfb2fe',
950: '#000000',
},
}SCSS
$custom: #cfb2fe; $custom-light: #dec9ff; $custom-dark: #000000;
JSON
{
"hex": "#cfb2fe",
"rgb": {
"r": 207,
"g": 178,
"b": 254
},
"hsl": {
"h": 262.895,
"s": 97.436,
"l": 84.706
},
"oklch": {
"l": 0.81527,
"c": 0.10906,
"h": 301.5
},
"luminance": 0.52262
}Semantic roles & 50–950 ramp
primary
#CFB2FE
secondary
#B8E470
accent
#E6008E
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286