#A796CD#A796CD
#A796CD is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.8% C 0.081 H 298.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A796CD |
|---|---|
| RGB | rgb(167, 150, 205) |
| HSL | hsl(259, 35%, 70%) |
| HSV | hsv(259, 27%, 80%) |
| CMYK | cmyk(18.5%, 26.8%, 0%, 19.6%) |
| CIE-LAB | lab(65.31, 17.43, -25.94) |
| CIE-LCH | lch(65.31, 31.25, 303.89°) |
| OKLab | oklab(70.76% 0.0386 -0.0712) |
| OKLCH | oklch(70.76% 0.081 298.5) |
| XYZ | xyz(37.8598, 34.4358, 62.3980) |
| Luminance | 0.3444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.08
Pale Purple
#B790D4
ΔE00 5.01
Lavender (survey)
#C79FEF
ΔE00 7.61
Wisteria
#A87DC2
ΔE00 8.13
Heather
#A484AC
ΔE00 8.33
Baby Purple
#CA9BF7
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A796CD #BCCD96
analogous
#96A1CD #A796CD #C296CD
triadic
#A796CD #CDA796 #96CDA7
tetradic
#A796CD #CD96A1 #BCCD96 #96CDC2
square
#A796CD #CD96A1 #BCCD96 #96CDC2
split-complementary
#A796CD #CDC296 #A1CD96
monochromatic
#654B9E #846DB9 #A796CD #CABFE1 #ECE9F4
Accessibility & contrast
On white
2.66
#A796CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A796CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A796CD
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A796CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A796CD | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A9FCF
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#A09EA9
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a796cd; /* rgb */ color: rgb(167, 150, 205); /* oklch */ color: oklch(70.8% 0.081 298.5);
Tailwind
colors: {
custom: {
50: '#c1b5dc',
500: '#a796cd',
950: '#000000',
},
}SCSS
$custom: #a796cd; $custom-light: #c1b5dc; $custom-dark: #000000;
JSON
{
"hex": "#a796cd",
"rgb": {
"r": 167,
"g": 150,
"b": 205
},
"hsl": {
"h": 258.545,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.70764,
"c": 0.08102,
"h": 298.5
},
"luminance": 0.34436
}Semantic roles & 50–950 ramp
primary
#A796CD
secondary
#E2E7D8
accent
#AE378A
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083