#815BB5#815BB5
#815BB5 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.139 H 301.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #815BB5 |
|---|---|
| RGB | rgb(129, 91, 181) |
| HSL | hsl(265, 38%, 53%) |
| HSV | hsv(265, 50%, 71%) |
| CMYK | cmyk(28.7%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(46.29, 34.41, -42.22) |
| CIE-LCH | lch(46.29, 54.46, 309.18°) |
| OKLab | oklab(55.12% 0.0727 -0.1187) |
| OKLCH | oklch(55.12% 0.139 301.5) |
| XYZ | xyz(21.1329, 15.4854, 45.5827) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.80
Royal Purple
#7851A9
ΔE00 3.71
Amethyst
#9B5FC0
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 6.66
Slate Blue
#6A5ACD
ΔE00 6.91
Deep Lilac
#966EBD
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BB5 #8FB55B
analogous
#5B62B5 #815BB5 #AE5BB5
triadic
#815BB5 #B5815B #5BB581
tetradic
#815BB5 #B55B62 #8FB55B #5BB5AE
square
#815BB5 #B55B62 #8FB55B #5BB5AE
split-complementary
#815BB5 #B5AE5B #62B55B
monochromatic
#462F67 #634291 #815BB5 #A185C8 #C2AFDB
Accessibility & contrast
On white
5.13
#815BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#815BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815BB5
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815BB5 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#486DB3
Tritanopia (blue-blind)
#776B7F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #815bb5; /* rgb */ color: rgb(129, 91, 181); /* oklch */ color: oklch(55.1% 0.139 301.5);
Tailwind
colors: {
custom: {
50: '#a88acb',
500: '#815bb5',
950: '#000000',
},
}SCSS
$custom: #815bb5; $custom-light: #a88acb; $custom-dark: #000000;
JSON
{
"hex": "#815bb5",
"rgb": {
"r": 129,
"g": 91,
"b": 181
},
"hsl": {
"h": 265.333,
"s": 37.815,
"l": 53.333
},
"oklch": {
"l": 0.55117,
"c": 0.13915,
"h": 301.5
},
"luminance": 0.15485
}Semantic roles & 50–950 ramp
primary
#815BB5
secondary
#B9C9A3
accent
#CE5A9D
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82