#CCB2FE#CCB2FE
#CCB2FE is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.3% C 0.108 H 299.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB2FE |
|---|---|
| RGB | rgb(204, 178, 254) |
| HSL | hsl(261, 97%, 85%) |
| HSV | hsv(261, 30%, 100%) |
| CMYK | cmyk(19.7%, 29.9%, 0%, 0.4%) |
| CIE-LAB | lab(77.18, 24.17, -34.17) |
| CIE-LCH | lch(77.18, 41.86, 305.27°) |
| OKLab | oklab(81.27% 0.0537 -0.0942) |
| OKLCH | oklch(81.27% 0.108 299.7) |
| XYZ | xyz(58.7078, 51.8337, 100.6587) |
| Luminance | 0.5183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.55
Light Violet
#D6B4FC
ΔE00 2.54
Lilac (survey)
#CEA2FD
ΔE00 4.61
Mauve
#E0B0FF
ΔE00 4.71
Pastel Purple
#CAA0FF
ΔE00 5.02
Lavender (survey)
#C79FEF
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB2FE #E4FEB2
analogous
#B2BEFE #CCB2FE #F2B2FE
triadic
#CCB2FE #FECCB2 #B2FECC
tetradic
#CCB2FE #FEB2BE #E4FEB2 #B2FEF2
square
#CCB2FE #FEB2BE #E4FEB2 #B2FEF2
split-complementary
#CCB2FE #FEF2B2 #BEFEB2
monochromatic
#7C39FC #A476FD #CCB2FE #EBE1FF #EBE1FF
Accessibility & contrast
On white
1.85
#CCB2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#CCB2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB2FE
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB2FE | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1BEFF
Deuteranopia (green-blind)
#A6BEFC
Tritanopia (blue-blind)
#C3BECD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #ccb2fe; /* rgb */ color: rgb(204, 178, 254); /* oklch */ color: oklch(81.3% 0.108 299.7);
Tailwind
colors: {
custom: {
50: '#dcc9ff',
500: '#ccb2fe',
950: '#000000',
},
}SCSS
$custom: #ccb2fe; $custom-light: #dcc9ff; $custom-dark: #000000;
JSON
{
"hex": "#ccb2fe",
"rgb": {
"r": 204,
"g": 178,
"b": 254
},
"hsl": {
"h": 260.526,
"s": 97.436,
"l": 84.706
},
"oklch": {
"l": 0.81269,
"c": 0.10842,
"h": 299.7
},
"luminance": 0.51834
}Semantic roles & 50–950 ramp
primary
#CCB2FE
secondary
#BCE470
accent
#E60097
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286