#CAAFDB#CAAFDB
#CAAFDB is a light, moderate violet. Relative luminance 0.483; OKLCH L 79.2% C 0.068 H 312.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CAAFDB |
|---|---|
| RGB | rgb(202, 175, 219) |
| HSL | hsl(277, 38%, 77%) |
| HSV | hsv(277, 20%, 86%) |
| CMYK | cmyk(7.8%, 20.1%, 0%, 14.1%) |
| CIE-LAB | lab(75.03, 17.78, -18.54) |
| CIE-LCH | lch(75.03, 25.69, 313.80°) |
| OKLab | oklab(79.16% 0.0456 -0.0502) |
| OKLCH | oklch(79.16% 0.068 312.3) |
| XYZ | xyz(52.4712, 48.3315, 73.5688) |
| Luminance | 0.4833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.77
Light Lavender
#DFC5FE
ΔE00 6.67
Light Violet
#D6B4FC
ΔE00 6.77
Thistle
#D8BFD8
ΔE00 6.77
Plum
#DDA0DD
ΔE00 7.22
Lavender
#B39DDB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAAFDB #C0DBAF
analogous
#B4AFDB #CAAFDB #DBAFD6
triadic
#CAAFDB #DBCAAF #AFDBCA
tetradic
#CAAFDB #DBB4AF #C0DBAF #AFD6DB
square
#CAAFDB #DBB4AF #C0DBAF #AFD6DB
split-complementary
#CAAFDB #D6DBAF #AFDBB4
monochromatic
#925BB5 #AE85C8 #CAAFDB #E6D9EE #F1EAF6
Accessibility & contrast
On white
1.97
#CAAFDB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.67
#CAAFDB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAAFDB
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAAFDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAAFDB | 1.00 | 1.97 | 10.67 | 10.67 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9B7DD
Deuteranopia (green-blind)
#AEB9DA
Tritanopia (blue-blind)
#C9B4BE
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #caafdb; /* rgb */ color: rgb(202, 175, 219); /* oklch */ color: oklch(79.2% 0.068 312.3);
Tailwind
colors: {
custom: {
50: '#dac7e6',
500: '#caafdb',
950: '#000000',
},
}SCSS
$custom: #caafdb; $custom-light: #dac7e6; $custom-dark: #000000;
JSON
{
"hex": "#caafdb",
"rgb": {
"r": 202,
"g": 175,
"b": 219
},
"hsl": {
"h": 276.818,
"s": 37.931,
"l": 77.255
},
"oklch": {
"l": 0.79161,
"c": 0.06781,
"h": 312.3
},
"luminance": 0.48331
}Semantic roles & 50–950 ramp
primary
#CAAFDB
secondary
#E4ECDF
accent
#B13565
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#151316
muted
#838284