#CAB2FF#CAB2FF
#CAB2FF is a light, moderate violet. Relative luminance 0.516; OKLCH L 81.1% C 0.109 H 298.2°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB2FF |
|---|---|
| RGB | rgb(202, 178, 255) |
| HSL | hsl(259, 100%, 85%) |
| HSV | hsv(259, 30%, 100%) |
| CMYK | cmyk(20.8%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(77.05, 23.80, -34.93) |
| CIE-LCH | lch(77.05, 42.27, 304.27°) |
| OKLab | oklab(81.14% 0.0518 -0.0964) |
| OKLCH | oklch(81.14% 0.109 298.2) |
| XYZ | xyz(58.3235, 51.6170, 101.4787) |
| Luminance | 0.5162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 2.05
Light Violet
#D6B4FC
ΔE00 3.13
Lilac (survey)
#CEA2FD
ΔE00 4.80
Pastel Purple
#CAA0FF
ΔE00 5.07
Mauve
#E0B0FF
ΔE00 5.26
Lavender (survey)
#C79FEF
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB2FF #E7FFB2
analogous
#B2C1FF #CAB2FF #F0B2FF
triadic
#CAB2FF #FFCAB2 #B2FFCA
tetradic
#CAB2FF #FFB2C1 #E7FFB2 #B2FFF0
square
#CAB2FF #FFB2C1 #E7FFB2 #B2FFF0
split-complementary
#CAB2FF #FFF0B2 #C1FFB2
monochromatic
#7638FF #A075FF #CAB2FF #EAE0FF #EAE0FF
Accessibility & contrast
On white
1.85
#CAB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.32
#CAB2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB2FF
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB2FF | 1.00 | 1.85 | 11.32 | 11.32 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#A4BEFD
Tritanopia (blue-blind)
#C0BECE
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cab2ff; /* rgb */ color: rgb(202, 178, 255); /* oklch */ color: oklch(81.1% 0.109 298.2);
Tailwind
colors: {
custom: {
50: '#dbc9ff',
500: '#cab2ff',
950: '#000000',
},
}SCSS
$custom: #cab2ff; $custom-light: #dbc9ff; $custom-dark: #000000;
JSON
{
"hex": "#cab2ff",
"rgb": {
"r": 202,
"g": 178,
"b": 255
},
"hsl": {
"h": 258.701,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.81142,
"c": 0.10938,
"h": 298.2
},
"luminance": 0.51617
}Semantic roles & 50–950 ramp
primary
#CAB2FF
secondary
#C1E670
accent
#E6009E
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286