#CCB2EF#CCB2EF
#CCB2EF is a light, moderate violet. Relative luminance 0.509; OKLCH L 80.7% C 0.089 H 303.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB2EF |
|---|---|
| RGB | rgb(204, 178, 239) |
| HSL | hsl(266, 66%, 82%) |
| HSV | hsv(266, 26%, 94%) |
| CMYK | cmyk(14.6%, 25.5%, 0%, 6.3%) |
| CIE-LAB | lab(76.62, 20.92, -26.95) |
| CIE-LCH | lch(76.62, 34.12, 307.81°) |
| OKLab | oklab(80.66% 0.0496 -0.0737) |
| OKLCH | oklch(80.66% 0.089 303.9) |
| XYZ | xyz(56.3992, 50.9103, 88.5001) |
| Luminance | 0.5091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 2.67
Pale Violet
#CEAEFA
ΔE00 3.06
Light Lavender
#DFC5FE
ΔE00 4.78
Mauve
#E0B0FF
ΔE00 4.90
Lavender (survey)
#C79FEF
ΔE00 5.55
Lavender
#B39DDB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB2EF #D5EFB2
analogous
#B2B7EF #CCB2EF #EBB2EF
triadic
#CCB2EF #EFCCB2 #B2EFCC
tetradic
#CCB2EF #EFB2B7 #D5EFB2 #B2EFEB
square
#CCB2EF #EFB2B7 #D5EFB2 #B2EFEB
split-complementary
#CCB2EF #EFEBB2 #B7EFB2
monochromatic
#894DDA #AA7FE4 #CCB2EF #EEE5FA #EEE6FA
Accessibility & contrast
On white
1.88
#CCB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.18
#CCB2EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB2EF
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB2EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB2EF | 1.00 | 1.88 | 11.18 | 11.18 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6BCF2
Deuteranopia (green-blind)
#ABBDED
Tritanopia (blue-blind)
#C7BBC7
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #ccb2ef; /* rgb */ color: rgb(204, 178, 239); /* oklch */ color: oklch(80.7% 0.089 303.9);
Tailwind
colors: {
custom: {
50: '#dcc9f4',
500: '#ccb2ef',
950: '#000000',
},
}SCSS
$custom: #ccb2ef; $custom-light: #dcc9f4; $custom-dark: #000000;
JSON
{
"hex": "#ccb2ef",
"rgb": {
"r": 204,
"g": 178,
"b": 239
},
"hsl": {
"h": 265.574,
"s": 65.591,
"l": 81.765
},
"oklch": {
"l": 0.80658,
"c": 0.08884,
"h": 303.9
},
"luminance": 0.5091
}Semantic roles & 50–950 ramp
primary
#CCB2EF
secondary
#A9CD78
accent
#CD1880
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285