#A795EE#A795EE
#A795EE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.1% C 0.128 H 292.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A795EE |
|---|---|
| RGB | rgb(167, 149, 238) |
| HSL | hsl(252, 72%, 76%) |
| HSV | hsv(252, 37%, 93%) |
| CMYK | cmyk(29.8%, 37.4%, 0%, 6.7%) |
| CIE-LAB | lab(66.43, 25.88, -42.45) |
| CIE-LCH | lch(66.43, 49.72, 301.36°) |
| OKLab | oklab(72.08% 0.0483 -0.1185) |
| OKLCH | oklch(72.08% 0.128 292.2) |
| XYZ | xyz(42.1125, 35.8827, 85.5797) |
| Luminance | 0.3588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.07
Lavender
#B39DDB
ΔE00 6.33
Liliac
#C48EFD
ΔE00 6.68
Periwinkle Blue
#8F99FB
ΔE00 6.80
Pastel Purple
#CAA0FF
ΔE00 6.84
Lavender Blue
#8B88F8
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A795EE #DCEE95
analogous
#95AFEE #A795EE #D395EE
triadic
#A795EE #EEA795 #95EEA7
tetradic
#A795EE #EE95AF #DCEE95 #95EED3
square
#A795EE #EE95AF #DCEE95 #95EED3
split-complementary
#A795EE #EED395 #AFEE95
monochromatic
#4F2CDD #7B60E6 #A795EE #D3CAF6 #E9E5FB
Accessibility & contrast
On white
2.57
#A795EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A795EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A795EE
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A795EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A795EE | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#97A5B6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a795ee; /* rgb */ color: rgb(167, 149, 238); /* oklch */ color: oklch(72.1% 0.128 292.2);
Tailwind
colors: {
custom: {
50: '#c3b4f4',
500: '#a795ee',
950: '#000000',
},
}SCSS
$custom: #a795ee; $custom-light: #c3b4f4; $custom-dark: #000000;
JSON
{
"hex": "#a795ee",
"rgb": {
"r": 167,
"g": 149,
"b": 238
},
"hsl": {
"h": 252.135,
"s": 72.358,
"l": 75.882
},
"oklch": {
"l": 0.72076,
"c": 0.128,
"h": 292.2
},
"luminance": 0.35883
}Semantic roles & 50–950 ramp
primary
#A795EE
secondary
#EDF2D9
accent
#D411AD
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085