#C2AFF2#C2AFF2
#C2AFF2 is a light, moderate violet. Relative luminance 0.485; OKLCH L 79.4% C 0.096 H 297.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AFF2 |
|---|---|
| RGB | rgb(194, 175, 242) |
| HSL | hsl(257, 72%, 82%) |
| HSV | hsv(257, 28%, 95%) |
| CMYK | cmyk(19.8%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(75.16, 20.15, -30.89) |
| CIE-LCH | lch(75.16, 36.88, 303.11°) |
| OKLab | oklab(79.37% 0.0437 -0.085) |
| OKLCH | oklch(79.37% 0.096 297.2) |
| XYZ | xyz(53.6016, 48.5397, 90.5324) |
| Luminance | 0.4854 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 2.93
Light Violet
#D6B4FC
ΔE00 3.98
Lavender
#B39DDB
ΔE00 5.18
Lavender (survey)
#C79FEF
ΔE00 5.22
Lilac (survey)
#CEA2FD
ΔE00 5.73
Pastel Purple
#CAA0FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AFF2 #DFF2AF
analogous
#AFBEF2 #C2AFF2 #E4AFF2
triadic
#C2AFF2 #F2C2AF #AFF2C2
tetradic
#C2AFF2 #F2AFBE #DFF2AF #AFF2E4
square
#C2AFF2 #F2AFBE #DFF2AF #AFF2E4
split-complementary
#C2AFF2 #F2E4AF #BEF2AF
monochromatic
#7246E1 #9A7AE9 #C2AFF2 #EAE4FB #EBE5FB
Accessibility & contrast
On white
1.96
#C2AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#C2AFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AFF2
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AFF2 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0B9F5
Deuteranopia (green-blind)
#A3B8F0
Tritanopia (blue-blind)
#B9B9C7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #c2aff2; /* rgb */ color: rgb(194, 175, 242); /* oklch */ color: oklch(79.4% 0.096 297.2);
Tailwind
colors: {
custom: {
50: '#d5c7f6',
500: '#c2aff2',
950: '#000000',
},
}SCSS
$custom: #c2aff2; $custom-light: #d5c7f6; $custom-dark: #000000;
JSON
{
"hex": "#c2aff2",
"rgb": {
"r": 194,
"g": 175,
"b": 242
},
"hsl": {
"h": 257.015,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.79367,
"c": 0.09553,
"h": 297.2
},
"luminance": 0.4854
}Semantic roles & 50–950 ramp
primary
#C2AFF2
secondary
#EBF2D9
accent
#D4119D
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#141317
muted
#838285