#CABFF7#CABFF7
#CABFF7 is a very light, moderate violet. Relative luminance 0.565; OKLCH L 83.3% C 0.078 H 293.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CABFF7 |
|---|---|
| RGB | rgb(202, 191, 247) |
| HSL | hsl(252, 78%, 86%) |
| HSV | hsv(252, 23%, 97%) |
| CMYK | cmyk(18.2%, 22.7%, 0%, 3.1%) |
| CIE-LAB | lab(79.92, 14.94, -26.23) |
| CIE-LCH | lch(79.92, 30.19, 299.67°) |
| OKLab | oklab(83.25% 0.0314 -0.0718) |
| OKLCH | oklch(83.25% 0.078 293.6) |
| XYZ | xyz(59.7727, 56.5331, 95.7406) |
| Luminance | 0.5653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle
#CCCCFF
ΔE00 3.89
Light Lavender
#DFC5FE
ΔE00 4.50
Light Periwinkle
#C1C6FC
ΔE00 4.50
Light Violet
#D6B4FC
ΔE00 5.49
Pale Lilac
#E4CBFF
ΔE00 5.54
Pale Violet
#CEAEFA
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CABFF7 #ECF7BF
analogous
#BFD0F7 #CABFF7 #E6BFF7
triadic
#CABFF7 #F7CABF #BFF7CA
tetradic
#CABFF7 #F7BFD0 #ECF7BF #BFF7E6
square
#CABFF7 #F7BFD0 #ECF7BF #BFF7E6
split-complementary
#CABFF7 #F7E6BF #D0F7BF
monochromatic
#7052E9 #9D89F0 #CABFF7 #E8E4FC #E8E4FC
Accessibility & contrast
On white
1.71
#CABFF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.31
#CABFF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CABFF7
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CABFF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CABFF7 | 1.00 | 1.71 | 12.31 | 12.31 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2C7F9
Deuteranopia (green-blind)
#B3C5F5
Tritanopia (blue-blind)
#C1C8D2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cabff7; /* rgb */ color: rgb(202, 191, 247); /* oklch */ color: oklch(83.3% 0.078 293.6);
Tailwind
colors: {
custom: {
50: '#dad2fa',
500: '#cabff7',
950: '#000000',
},
}SCSS
$custom: #cabff7; $custom-light: #dad2fa; $custom-dark: #000000;
JSON
{
"hex": "#cabff7",
"rgb": {
"r": 202,
"g": 191,
"b": 247
},
"hsl": {
"h": 251.786,
"s": 77.778,
"l": 85.882
},
"oklch": {
"l": 0.83254,
"c": 0.07835,
"h": 293.6
},
"luminance": 0.56534
}Semantic roles & 50–950 ramp
primary
#CABFF7
secondary
#C8DA81
accent
#DA0BB1
background
#FEFEFF
surface
#FBFBFF
border
#D4D4D7
text
#151417
muted
#848385