#815AC0#815AC0
#815AC0 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.155 H 298.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #815AC0 |
|---|---|
| RGB | rgb(129, 90, 192) |
| HSL | hsl(263, 45%, 55%) |
| HSV | hsv(263, 53%, 75%) |
| CMYK | cmyk(32.8%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(46.69, 37.80, -47.98) |
| CIE-LCH | lch(46.69, 61.08, 308.24°) |
| OKLab | oklab(55.62% 0.0749 -0.1355) |
| OKLCH | oklch(55.62% 0.155 298.9) |
| XYZ | xyz(22.2216, 15.7850, 51.7350) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.81
Royal Purple
#7851A9
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815AC0 #99C05A
analogous
#5A66C0 #815AC0 #B45AC0
triadic
#815AC0 #C0815A #5AC081
tetradic
#815AC0 #C05A66 #99C05A #5AC0B4
square
#815AC0 #C05A66 #99C05A #5AC0B4
split-complementary
#815AC0 #C0B45A #66C05A
monochromatic
#472C73 #633DA0 #815AC0 #A386D1 #C5B3E2
Accessibility & contrast
On white
5.05
#815AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#815AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815AC0
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815AC0 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336FC3
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#746E84
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #815ac0; /* rgb */ color: rgb(129, 90, 192); /* oklch */ color: oklch(55.6% 0.155 298.9);
Tailwind
colors: {
custom: {
50: '#a98ad3',
500: '#815ac0',
950: '#000000',
},
}SCSS
$custom: #815ac0; $custom-light: #a98ad3; $custom-dark: #000000;
JSON
{
"hex": "#815ac0",
"rgb": {
"r": 129,
"g": 90,
"b": 192
},
"hsl": {
"h": 262.941,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.55616,
"c": 0.15485,
"h": 298.9
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#815AC0
secondary
#C0D0A6
accent
#D453A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83