#A796C7#A796C7
#A796C7 is a light, moderate violet. Relative luminance 0.342; OKLCH L 70.5% C 0.073 H 300.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A796C7 |
|---|---|
| RGB | rgb(167, 150, 199) |
| HSL | hsl(261, 30%, 68%) |
| HSV | hsv(261, 25%, 78%) |
| CMYK | cmyk(16.1%, 24.6%, 0%, 22%) |
| CIE-LAB | lab(65.08, 16.08, -22.94) |
| CIE-LCH | lch(65.08, 28.01, 305.03°) |
| OKLab | oklab(70.52% 0.0369 -0.0627) |
| OKLCH | oklch(70.52% 0.073 300.4) |
| XYZ | xyz(37.1494, 34.1516, 58.6566) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.06
Pale Purple
#B790D4
ΔE00 5.58
Heather
#A484AC
ΔE00 7.35
Wisteria
#A87DC2
ΔE00 8.38
Lavender (survey)
#C79FEF
ΔE00 8.52
Lilac
#C8A2C8
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A796C7 #B6C796
analogous
#969DC7 #A796C7 #BF96C7
triadic
#A796C7 #C7A796 #96C7A7
tetradic
#A796C7 #C7969D #B6C796 #96C7BF
square
#A796C7 #C7969D #B6C796 #96C7BF
split-complementary
#A796C7 #C7BF96 #9DC796
monochromatic
#674F94 #866EB2 #A796C7 #C8BEDC #EAE6F2
Accessibility & contrast
On white
2.68
#A796C7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A796C7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A796C7
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A796C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A796C7 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C9EC9
Deuteranopia (green-blind)
#8F9EC6
Tritanopia (blue-blind)
#A29DA7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a796c7; /* rgb */ color: rgb(167, 150, 199); /* oklch */ color: oklch(70.5% 0.073 300.4);
Tailwind
colors: {
custom: {
50: '#c1b5d8',
500: '#a796c7',
950: '#000000',
},
}SCSS
$custom: #a796c7; $custom-light: #c1b5d8; $custom-dark: #000000;
JSON
{
"hex": "#a796c7",
"rgb": {
"r": 167,
"g": 150,
"b": 199
},
"hsl": {
"h": 260.816,
"s": 30.435,
"l": 68.431
},
"oklch": {
"l": 0.70517,
"c": 0.07275,
"h": 300.4
},
"luminance": 0.34152
}Semantic roles & 50–950 ramp
primary
#A796C7
secondary
#DFE4D5
accent
#A93C83
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083