#A795CD#A795CD
#A795CD is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.6% C 0.083 H 299.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A795CD |
|---|---|
| RGB | rgb(167, 149, 205) |
| HSL | hsl(259, 36%, 69%) |
| HSV | hsv(259, 27%, 80%) |
| CMYK | cmyk(18.5%, 27.3%, 0%, 19.6%) |
| CIE-LAB | lab(65.06, 17.99, -26.33) |
| CIE-LCH | lch(65.06, 31.89, 304.35°) |
| OKLab | oklab(70.57% 0.0401 -0.0723) |
| OKLCH | oklch(70.57% 0.083 299) |
| XYZ | xyz(37.7009, 34.1180, 62.3450) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.13
Pale Purple
#B790D4
ΔE00 4.74
Lavender (survey)
#C79FEF
ΔE00 7.53
Wisteria
#A87DC2
ΔE00 7.79
Heather
#A484AC
ΔE00 8.20
Baby Purple
#CA9BF7
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A795CD #BBCD95
analogous
#959FCD #A795CD #C395CD
triadic
#A795CD #CDA795 #95CDA7
tetradic
#A795CD #CD959F #BBCD95 #95CDC3
square
#A795CD #CD959F #BBCD95 #95CDC3
split-complementary
#A795CD #CDC395 #9FCD95
monochromatic
#654A9D #846BB9 #A795CD #CABFE1 #ECE8F4
Accessibility & contrast
On white
2.68
#A795CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A795CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A795CD
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A795CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A795CD | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#A09EA9
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a795cd; /* rgb */ color: rgb(167, 149, 205); /* oklch */ color: oklch(70.6% 0.083 299.0);
Tailwind
colors: {
custom: {
50: '#c1b4dc',
500: '#a795cd',
950: '#000000',
},
}SCSS
$custom: #a795cd; $custom-light: #c1b4dc; $custom-dark: #000000;
JSON
{
"hex": "#a795cd",
"rgb": {
"r": 167,
"g": 149,
"b": 205
},
"hsl": {
"h": 259.286,
"s": 35.897,
"l": 69.412
},
"oklch": {
"l": 0.70571,
"c": 0.08268,
"h": 299
},
"luminance": 0.34118
}Semantic roles & 50–950 ramp
primary
#A795CD
secondary
#E2E7D7
accent
#AF3788
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083