#A797CD#A797CD
#A797CD is a light, moderate violet. Relative luminance 0.348; OKLCH L 71.0% C 0.079 H 297.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A797CD |
|---|---|
| RGB | rgb(167, 151, 205) |
| HSL | hsl(258, 35%, 70%) |
| HSV | hsv(258, 26%, 80%) |
| CMYK | cmyk(18.5%, 26.3%, 0%, 19.6%) |
| CIE-LAB | lab(65.56, 16.86, -25.55) |
| CIE-LCH | lch(65.56, 30.62, 303.42°) |
| OKLab | oklab(70.96% 0.0372 -0.0701) |
| OKLCH | oklch(70.96% 0.079 297.9) |
| XYZ | xyz(38.0200, 34.7563, 62.4514) |
| Luminance | 0.3476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.08
Pale Purple
#B790D4
ΔE00 5.29
Lavender (survey)
#C79FEF
ΔE00 7.70
Wisteria
#A87DC2
ΔE00 8.47
Heather
#A484AC
ΔE00 8.49
Baby Purple
#CA9BF7
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A797CD #BDCD97
analogous
#97A2CD #A797CD #C297CD
triadic
#A797CD #CDA797 #97CDA7
tetradic
#A797CD #CD97A2 #BDCD97 #97CDC2
square
#A797CD #CD97A2 #BDCD97 #97CDC2
split-complementary
#A797CD #CDC297 #A2CD97
monochromatic
#644C9E #846EB9 #A797CD #CAC0E1 #EDEAF5
Accessibility & contrast
On white
2.64
#A797CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A797CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A797CD
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A797CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A797CD | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#8E9FCB
Tritanopia (blue-blind)
#A09FAA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a797cd; /* rgb */ color: rgb(167, 151, 205); /* oklch */ color: oklch(71.0% 0.079 297.9);
Tailwind
colors: {
custom: {
50: '#c1b5dc',
500: '#a797cd',
950: '#000000',
},
}SCSS
$custom: #a797cd; $custom-light: #c1b5dc; $custom-dark: #000000;
JSON
{
"hex": "#a797cd",
"rgb": {
"r": 167,
"g": 151,
"b": 205
},
"hsl": {
"h": 257.778,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.70958,
"c": 0.07937,
"h": 297.9
},
"luminance": 0.34756
}Semantic roles & 50–950 ramp
primary
#A797CD
secondary
#E3E8D8
accent
#AE388B
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083