#A799CA#A799CA
#A799CA is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.2% C 0.072 H 297.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A799CA |
|---|---|
| RGB | rgb(167, 153, 202) |
| HSL | hsl(257, 32%, 70%) |
| HSV | hsv(257, 24%, 79%) |
| CMYK | cmyk(17.3%, 24.3%, 0%, 20.8%) |
| CIE-LAB | lab(65.95, 15.06, -23.28) |
| CIE-LCH | lch(65.95, 27.72, 302.89°) |
| OKLab | oklab(71.23% 0.0334 -0.0637) |
| OKLCH | oklch(71.23% 0.072 297.6) |
| XYZ | xyz(37.9860, 35.2620, 60.6707) |
| Luminance | 0.3526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.72
Pale Purple
#B790D4
ΔE00 6.15
Lavender (survey)
#C79FEF
ΔE00 8.39
Heather
#A484AC
ΔE00 8.41
Lilac
#C8A2C8
ΔE00 8.92
Wisteria
#A87DC2
ΔE00 9.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A799CA #BCCA99
analogous
#99A4CA #A799CA #C099CA
triadic
#A799CA #CAA799 #99CAA7
tetradic
#A799CA #CA99A4 #BCCA99 #99CAC0
square
#A799CA #CA99A4 #BCCA99 #99CAC0
split-complementary
#A799CA #CAC099 #A4CA99
monochromatic
#655099 #8471B5 #A799CA #CAC1DF #ECEAF4
Accessibility & contrast
On white
2.61
#A799CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#A799CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A799CA
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A799CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A799CA | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FA0CC
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#A1A0AA
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a799ca; /* rgb */ color: rgb(167, 153, 202); /* oklch */ color: oklch(71.2% 0.072 297.6);
Tailwind
colors: {
custom: {
50: '#c1b7da',
500: '#a799ca',
950: '#000000',
},
}SCSS
$custom: #a799ca; $custom-light: #c1b7da; $custom-dark: #000000;
JSON
{
"hex": "#a799ca",
"rgb": {
"r": 167,
"g": 153,
"b": 202
},
"hsl": {
"h": 257.143,
"s": 31.613,
"l": 69.608
},
"oklch": {
"l": 0.71225,
"c": 0.07192,
"h": 297.6
},
"luminance": 0.35262
}Semantic roles & 50–950 ramp
primary
#A799CA
secondary
#E2E6D8
accent
#AA3B8B
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083