#815AAA#815AAA
#815AAA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.3% C 0.127 H 305.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #815AAA |
|---|---|
| RGB | rgb(129, 90, 170) |
| HSL | hsl(269, 32%, 51%) |
| HSV | hsv(269, 47%, 67%) |
| CMYK | cmyk(24.1%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(45.47, 32.25, -37.07) |
| CIE-LCH | lch(45.47, 49.13, 311.02°) |
| OKLab | oklab(54.31% 0.0727 -0.1036) |
| OKLCH | oklch(54.31% 0.127 305.1) |
| XYZ | xyz(19.9636, 14.8818, 39.8432) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.25
Royal Purple
#7851A9
ΔE00 3.35
Amethyst
#9B5FC0
ΔE00 6.24
Dark Lavender
#856798
ΔE00 7.32
Deep Lilac
#966EBD
ΔE00 7.83
Purply
#983FB2
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815AAA #83AA5A
analogous
#5A5BAA #815AAA #A95AAA
triadic
#815AAA #AA815A #5AAA81
tetradic
#815AAA #AA5A5B #83AA5A #5AAAA9
square
#815AAA #AA5A5B #83AA5A #5AAAA9
split-complementary
#815AAA #AAA95A #5BAA5A
monochromatic
#442F5B #634483 #815AAA #A082BF #BFABD4
Accessibility & contrast
On white
5.28
#815AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#815AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815AAA
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815AAA | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456AAD
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#7A687A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #815aaa; /* rgb */ color: rgb(129, 90, 170); /* oklch */ color: oklch(54.3% 0.127 305.1);
Tailwind
colors: {
custom: {
50: '#a789c3',
500: '#815aaa',
950: '#000000',
},
}SCSS
$custom: #815aaa; $custom-light: #a789c3; $custom-dark: #000000;
JSON
{
"hex": "#815aaa",
"rgb": {
"r": 129,
"g": 90,
"b": 170
},
"hsl": {
"h": 269.25,
"s": 32,
"l": 50.98
},
"oklch": {
"l": 0.54313,
"c": 0.12663,
"h": 305.1
},
"luminance": 0.14882
}Semantic roles & 50–950 ramp
primary
#815AAA
secondary
#B0C29E
accent
#C86095
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B12
muted
#7F7C81