#CAAFF2#CAAFF2
#CAAFF2 is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.0% C 0.097 H 302.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CAAFF2 |
|---|---|
| RGB | rgb(202, 175, 242) |
| HSL | hsl(264, 72%, 82%) |
| HSV | hsv(264, 28%, 95%) |
| CMYK | cmyk(16.5%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(75.84, 22.58, -29.79) |
| CIE-LCH | lch(75.84, 37.38, 307.16°) |
| OKLab | oklab(80.05% 0.0525 -0.0817) |
| OKLCH | oklch(80.05% 0.097 302.7) |
| XYZ | xyz(55.7109, 49.6273, 90.6312) |
| Luminance | 0.4963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.80
Light Violet
#D6B4FC
ΔE00 2.36
Lavender (survey)
#C79FEF
ΔE00 4.43
Mauve
#E0B0FF
ΔE00 4.56
Lilac (survey)
#CEA2FD
ΔE00 5.00
Lavender
#B39DDB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAAFF2 #D7F2AF
analogous
#AFB6F2 #CAAFF2 #ECAFF2
triadic
#CAAFF2 #F2CAAF #AFF2CA
tetradic
#CAAFF2 #F2AFB6 #D7F2AF #AFF2EC
square
#CAAFF2 #F2AFB6 #D7F2AF #AFF2EC
split-complementary
#CAAFF2 #F2ECAF #B6F2AF
monochromatic
#8446E1 #A77AE9 #CAAFF2 #EDE4FB #EEE5FB
Accessibility & contrast
On white
1.92
#CAAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.93
#CAAFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAAFF2
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAAFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAAFF2 | 1.00 | 1.92 | 10.93 | 10.93 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2BAF5
Deuteranopia (green-blind)
#A6BBF0
Tritanopia (blue-blind)
#C4B9C7
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #caaff2; /* rgb */ color: rgb(202, 175, 242); /* oklch */ color: oklch(80.0% 0.097 302.7);
Tailwind
colors: {
custom: {
50: '#dbc7f6',
500: '#caaff2',
950: '#000000',
},
}SCSS
$custom: #caaff2; $custom-light: #dbc7f6; $custom-dark: #000000;
JSON
{
"hex": "#caaff2",
"rgb": {
"r": 202,
"g": 175,
"b": 242
},
"hsl": {
"h": 264.179,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.80049,
"c": 0.09715,
"h": 302.7
},
"luminance": 0.49627
}Semantic roles & 50–950 ramp
primary
#CAAFF2
secondary
#E8F2D9
accent
#D41186
background
#FDFCFF
surface
#FBF8FE
border
#D4D1D6
text
#151317
muted
#838285