#CFB2FB#CFB2FB
#CFB2FB is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.4% C 0.105 H 302.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2FB |
|---|---|
| RGB | rgb(207, 178, 251) |
| HSL | hsl(264, 90%, 84%) |
| HSV | hsv(264, 29%, 98%) |
| CMYK | cmyk(17.5%, 29.1%, 0%, 1.6%) |
| CIE-LAB | lab(77.32, 24.41, -32.32) |
| CIE-LCH | lch(77.32, 40.51, 307.07°) |
| OKLab | oklab(81.4% 0.0563 -0.0889) |
| OKLCH | oklch(81.4% 0.105 302.3) |
| XYZ | xyz(59.0615, 52.0712, 98.1873) |
| Luminance | 0.5207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.06
Light Violet
#D6B4FC
ΔE00 1.50
Mauve
#E0B0FF
ΔE00 3.86
Lilac (survey)
#CEA2FD
ΔE00 4.60
Lavender (survey)
#C79FEF
ΔE00 4.79
Pastel Purple
#CAA0FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2FB #DEFBB2
analogous
#B2BAFB #CFB2FB #F4B2FB
triadic
#CFB2FB #FBCFB2 #B2FBCF
tetradic
#CFB2FB #FBB2BA #DEFBB2 #B2FBF4
square
#CFB2FB #FBB2BA #DEFBB2 #B2FBF4
split-complementary
#CFB2FB #FBF4B2 #BAFBB2
monochromatic
#863EF5 #AB78F8 #CFB2FB #EDE2FD #EDE2FD
Accessibility & contrast
On white
1.84
#CFB2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#CFB2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2FB
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2FB | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3BEFE
Deuteranopia (green-blind)
#A8BFF9
Tritanopia (blue-blind)
#C8BDCC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfb2fb; /* rgb */ color: rgb(207, 178, 251); /* oklch */ color: oklch(81.4% 0.105 302.3);
Tailwind
colors: {
custom: {
50: '#dec9fd',
500: '#cfb2fb',
950: '#000000',
},
}SCSS
$custom: #cfb2fb; $custom-light: #dec9fd; $custom-dark: #000000;
JSON
{
"hex": "#cfb2fb",
"rgb": {
"r": 207,
"g": 178,
"b": 251
},
"hsl": {
"h": 263.836,
"s": 90.123,
"l": 84.118
},
"oklch": {
"l": 0.81402,
"c": 0.10517,
"h": 302.3
},
"luminance": 0.52071
}Semantic roles & 50–950 ramp
primary
#CFB2FB
secondary
#B4DF72
accent
#E6008A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285