#A798CA#A798CA
#A798CA is a light, moderate violet. Relative luminance 0.349; OKLCH L 71.0% C 0.074 H 298.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A798CA |
|---|---|
| RGB | rgb(167, 152, 202) |
| HSL | hsl(258, 32%, 69%) |
| HSV | hsv(258, 25%, 79%) |
| CMYK | cmyk(17.3%, 24.8%, 0%, 20.8%) |
| CIE-LAB | lab(65.70, 15.62, -23.67) |
| CIE-LCH | lch(65.70, 28.36, 303.42°) |
| OKLab | oklab(71.03% 0.0348 -0.0648) |
| OKLCH | oklch(71.03% 0.074 298.3) |
| XYZ | xyz(37.8230, 34.9361, 60.6164) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.61
Pale Purple
#B790D4
ΔE00 5.84
Heather
#A484AC
ΔE00 8.20
Lavender (survey)
#C79FEF
ΔE00 8.26
Lilac
#C8A2C8
ΔE00 8.93
Wisteria
#A87DC2
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A798CA #BBCA98
analogous
#98A2CA #A798CA #C098CA
triadic
#A798CA #CAA798 #98CAA7
tetradic
#A798CA #CA98A2 #BBCA98 #98CAC0
square
#A798CA #CA98A2 #BBCA98 #98CAC0
split-complementary
#A798CA #CAC098 #A2CA98
monochromatic
#654F99 #8470B5 #A798CA #CAC0DF #ECE9F4
Accessibility & contrast
On white
2.63
#A798CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#A798CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A798CA
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A798CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A798CA | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA0CC
Deuteranopia (green-blind)
#909FC9
Tritanopia (blue-blind)
#A1A0A9
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a798ca; /* rgb */ color: rgb(167, 152, 202); /* oklch */ color: oklch(71.0% 0.074 298.3);
Tailwind
colors: {
custom: {
50: '#c1b6da',
500: '#a798ca',
950: '#000000',
},
}SCSS
$custom: #a798ca; $custom-light: #c1b6da; $custom-dark: #000000;
JSON
{
"hex": "#a798ca",
"rgb": {
"r": 167,
"g": 152,
"b": 202
},
"hsl": {
"h": 258,
"s": 32.051,
"l": 69.412
},
"oklch": {
"l": 0.71029,
"c": 0.07357,
"h": 298.3
},
"luminance": 0.34936
}Semantic roles & 50–950 ramp
primary
#A798CA
secondary
#E2E6D8
accent
#AB3B89
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083