#A795EF#A795EF
#A795EF is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.1% C 0.129 H 292.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A795EF |
|---|---|
| RGB | rgb(167, 149, 239) |
| HSL | hsl(252, 74%, 76%) |
| HSV | hsv(252, 38%, 94%) |
| CMYK | cmyk(30.1%, 37.7%, 0%, 6.3%) |
| CIE-LAB | lab(66.48, 26.13, -42.93) |
| CIE-LCH | lch(66.48, 50.25, 301.32°) |
| OKLab | oklab(72.13% 0.0485 -0.1199) |
| OKLCH | oklch(72.13% 0.129 292) |
| XYZ | xyz(42.2599, 35.9416, 86.3555) |
| Luminance | 0.3594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.03
Lavender
#B39DDB
ΔE00 6.49
Liliac
#C48EFD
ΔE00 6.65
Periwinkle Blue
#8F99FB
ΔE00 6.70
Lavender Blue
#8B88F8
ΔE00 6.76
Pastel Purple
#CAA0FF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A795EF #DDEF95
analogous
#95B0EF #A795EF #D495EF
triadic
#A795EF #EFA795 #95EFA7
tetradic
#A795EF #EF95B0 #DDEF95 #95EFD4
square
#A795EF #EF95B0 #DDEF95 #95EFD4
split-complementary
#A795EF #EFD495 #B0EF95
monochromatic
#4F2BDF #7B60E7 #A795EF #D3CAF7 #E9E4FB
Accessibility & contrast
On white
2.56
#A795EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#A795EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A795EF
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A795EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A795EF | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA3F2
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#97A5B7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a795ef; /* rgb */ color: rgb(167, 149, 239); /* oklch */ color: oklch(72.1% 0.129 292.0);
Tailwind
colors: {
custom: {
50: '#c3b4f4',
500: '#a795ef',
950: '#000000',
},
}SCSS
$custom: #a795ef; $custom-light: #c3b4f4; $custom-dark: #000000;
JSON
{
"hex": "#a795ef",
"rgb": {
"r": 167,
"g": 149,
"b": 239
},
"hsl": {
"h": 252,
"s": 73.77,
"l": 76.078
},
"oklch": {
"l": 0.72125,
"c": 0.12935,
"h": 292
},
"luminance": 0.35942
}Semantic roles & 50–950 ramp
primary
#A795EF
secondary
#EDF3D8
accent
#D610AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085