#A796BF#A796BF
#A796BF is a light, moderate violet. Relative luminance 0.338; OKLCH L 70.2% C 0.062 H 303.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A796BF |
|---|---|
| RGB | rgb(167, 150, 191) |
| HSL | hsl(265, 24%, 67%) |
| HSV | hsv(265, 21%, 75%) |
| CMYK | cmyk(12.6%, 21.5%, 0%, 25.1%) |
| CIE-LAB | lab(64.80, 14.33, -18.90) |
| CIE-LCH | lch(64.80, 23.72, 307.16°) |
| OKLab | oklab(70.2% 0.0343 -0.0514) |
| OKLCH | oklch(70.2% 0.062 303.7) |
| XYZ | xyz(36.2449, 33.7898, 53.8927) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.92
Heather
#A484AC
ΔE00 6.43
Pale Purple
#B790D4
ΔE00 6.99
Dusty Lavender
#AC86A8
ΔE00 7.67
Lilac
#C8A2C8
ΔE00 7.78
Wisteria
#A87DC2
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A796BF #AEBF96
analogous
#969ABF #A796BF #BC96BF
triadic
#A796BF #BFA796 #96BFA7
tetradic
#A796BF #BF969A #AEBF96 #96BFBC
square
#A796BF #BF969A #AEBF96 #96BFBC
split-complementary
#A796BF #BFBC96 #9ABF96
monochromatic
#695388 #8770A8 #A796BF #C7BCD6 #E7E2ED
Accessibility & contrast
On white
2.71
#A796BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#A796BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A796BF
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A796BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A796BF | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F9DC1
Deuteranopia (green-blind)
#929DBE
Tritanopia (blue-blind)
#A39CA4
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a796bf; /* rgb */ color: rgb(167, 150, 191); /* oklch */ color: oklch(70.2% 0.062 303.7);
Tailwind
colors: {
custom: {
50: '#c1b5d2',
500: '#a796bf',
950: '#000000',
},
}SCSS
$custom: #a796bf; $custom-light: #c1b5d2; $custom-dark: #000000;
JSON
{
"hex": "#a796bf",
"rgb": {
"r": 167,
"g": 150,
"b": 191
},
"hsl": {
"h": 264.878,
"s": 24.26,
"l": 66.863
},
"oklch": {
"l": 0.702,
"c": 0.06182,
"h": 303.7
},
"luminance": 0.3379
}Semantic roles & 50–950 ramp
primary
#A796BF
secondary
#DADFD2
accent
#A3437B
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082