#CFB2FC#CFB2FC
#CFB2FC is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.4% C 0.106 H 302.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2FC |
|---|---|
| RGB | rgb(207, 178, 252) |
| HSL | hsl(264, 93%, 84%) |
| HSV | hsv(264, 29%, 99%) |
| CMYK | cmyk(17.9%, 29.4%, 0%, 1.2%) |
| CIE-LAB | lab(77.36, 24.63, -32.80) |
| CIE-LCH | lch(77.36, 41.02, 306.90°) |
| OKLab | oklab(81.44% 0.0565 -0.0902) |
| OKLCH | oklch(81.44% 0.106 302.1) |
| XYZ | xyz(59.2196, 52.1344, 99.0197) |
| Luminance | 0.5213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.03
Light Violet
#D6B4FC
ΔE00 1.60
Mauve
#E0B0FF
ΔE00 3.89
Lilac (survey)
#CEA2FD
ΔE00 4.52
Lavender (survey)
#C79FEF
ΔE00 4.80
Pastel Purple
#CAA0FF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2FC #DFFCB2
analogous
#B2BAFC #CFB2FC #F4B2FC
triadic
#CFB2FC #FCCFB2 #B2FCCF
tetradic
#CFB2FC #FCB2BA #DFFCB2 #B2FCF4
square
#CFB2FC #FCB2BA #DFFCB2 #B2FCF4
split-complementary
#CFB2FC #FCF4B2 #BAFCB2
monochromatic
#863CF7 #AA77FA #CFB2FC #EDE2FE #EDE2FE
Accessibility & contrast
On white
1.84
#CFB2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#CFB2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2FC
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2FC | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#A8BFFA
Tritanopia (blue-blind)
#C8BDCC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfb2fc; /* rgb */ color: rgb(207, 178, 252); /* oklch */ color: oklch(81.4% 0.106 302.1);
Tailwind
colors: {
custom: {
50: '#dec9fd',
500: '#cfb2fc',
950: '#000000',
},
}SCSS
$custom: #cfb2fc; $custom-light: #dec9fd; $custom-dark: #000000;
JSON
{
"hex": "#cfb2fc",
"rgb": {
"r": 207,
"g": 178,
"b": 252
},
"hsl": {
"h": 263.514,
"s": 92.5,
"l": 84.314
},
"oklch": {
"l": 0.81444,
"c": 0.10646,
"h": 302.1
},
"luminance": 0.52134
}Semantic roles & 50–950 ramp
primary
#CFB2FC
secondary
#B5E171
accent
#E6008C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285