#A795BF#A795BF
#A795BF is a light, moderate violet. Relative luminance 0.335; OKLCH L 70.0% C 0.064 H 304.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A795BF |
|---|---|
| RGB | rgb(167, 149, 191) |
| HSL | hsl(266, 25%, 67%) |
| HSV | hsv(266, 22%, 75%) |
| CMYK | cmyk(12.6%, 22%, 0%, 25.1%) |
| CIE-LAB | lab(64.54, 14.89, -19.29) |
| CIE-LCH | lch(64.54, 24.37, 307.67°) |
| OKLab | oklab(70% 0.0358 -0.0525) |
| OKLCH | oklch(70% 0.064 304.3) |
| XYZ | xyz(36.0860, 33.4720, 53.8398) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.82
Heather
#A484AC
ΔE00 6.13
Pale Purple
#B790D4
ΔE00 6.68
Dusty Lavender
#AC86A8
ΔE00 7.45
Lilac
#C8A2C8
ΔE00 7.79
Wisteria
#A87DC2
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A795BF #ADBF95
analogous
#9598BF #A795BF #BC95BF
triadic
#A795BF #BFA795 #95BFA7
tetradic
#A795BF #BF9598 #ADBF95 #95BFBC
square
#A795BF #BF9598 #ADBF95 #95BFBC
split-complementary
#A795BF #BFBC95 #98BF95
monochromatic
#695288 #876FA8 #A795BF #C7BBD6 #E6E1ED
Accessibility & contrast
On white
2.73
#A795BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#A795BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A795BF
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A795BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A795BF | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E9CC1
Deuteranopia (green-blind)
#919DBE
Tritanopia (blue-blind)
#A49BA3
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a795bf; /* rgb */ color: rgb(167, 149, 191); /* oklch */ color: oklch(70.0% 0.064 304.3);
Tailwind
colors: {
custom: {
50: '#c1b4d2',
500: '#a795bf',
950: '#000000',
},
}SCSS
$custom: #a795bf; $custom-light: #c1b4d2; $custom-dark: #000000;
JSON
{
"hex": "#a795bf",
"rgb": {
"r": 167,
"g": 149,
"b": 191
},
"hsl": {
"h": 265.714,
"s": 24.706,
"l": 66.667
},
"oklch": {
"l": 0.70003,
"c": 0.06354,
"h": 304.3
},
"luminance": 0.33472
}Semantic roles & 50–950 ramp
primary
#A795BF
secondary
#D9DFD1
accent
#A3427A
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082