#CAB2FC#CAB2FC
#CAB2FC is a light, moderate violet. Relative luminance 0.514; OKLCH L 81.0% C 0.105 H 298.9°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB2FC |
|---|---|
| RGB | rgb(202, 178, 252) |
| HSL | hsl(259, 93%, 84%) |
| HSV | hsv(259, 29%, 99%) |
| CMYK | cmyk(19.8%, 29.4%, 0%, 1.2%) |
| CIE-LAB | lab(76.94, 23.13, -33.49) |
| CIE-LCH | lch(76.94, 40.70, 304.63°) |
| OKLab | oklab(81.02% 0.051 -0.0923) |
| OKLCH | oklch(81.02% 0.105 298.9) |
| XYZ | xyz(57.8444, 51.4254, 98.9552) |
| Luminance | 0.5143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.80
Light Violet
#D6B4FC
ΔE00 2.78
Lilac (survey)
#CEA2FD
ΔE00 4.91
Mauve
#E0B0FF
ΔE00 5.08
Lavender (survey)
#C79FEF
ΔE00 5.15
Pastel Purple
#CAA0FF
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB2FC #E4FCB2
analogous
#B2BFFC #CAB2FC #EFB2FC
triadic
#CAB2FC #FCCAB2 #B2FCCA
tetradic
#CAB2FC #FCB2BF #E4FCB2 #B2FCEF
square
#CAB2FC #FCB2BF #E4FCB2 #B2FCEF
split-complementary
#CAB2FC #FCEFB2 #BFFCB2
monochromatic
#793CF7 #A177FA #CAB2FC #EBE2FE #EBE2FE
Accessibility & contrast
On white
1.86
#CAB2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.29
#CAB2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB2FC
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB2FC | 1.00 | 1.86 | 11.29 | 11.29 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2BEFF
Deuteranopia (green-blind)
#A5BDFA
Tritanopia (blue-blind)
#C1BDCC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cab2fc; /* rgb */ color: rgb(202, 178, 252); /* oklch */ color: oklch(81.0% 0.105 298.9);
Tailwind
colors: {
custom: {
50: '#dbc9fd',
500: '#cab2fc',
950: '#000000',
},
}SCSS
$custom: #cab2fc; $custom-light: #dbc9fd; $custom-dark: #000000;
JSON
{
"hex": "#cab2fc",
"rgb": {
"r": 202,
"g": 178,
"b": 252
},
"hsl": {
"h": 259.459,
"s": 92.5,
"l": 84.314
},
"oklch": {
"l": 0.81015,
"c": 0.10542,
"h": 298.9
},
"luminance": 0.51426
}Semantic roles & 50–950 ramp
primary
#CAB2FC
secondary
#BDE171
accent
#E6009B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285