#815BBB#815BBB
#815BBB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.147 H 299.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #815BBB |
|---|---|
| RGB | rgb(129, 91, 187) |
| HSL | hsl(264, 41%, 55%) |
| HSV | hsv(264, 51%, 73%) |
| CMYK | cmyk(31%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(46.63, 35.94, -45.18) |
| CIE-LCH | lch(46.63, 57.73, 308.50°) |
| OKLab | oklab(55.48% 0.0732 -0.1273) |
| OKLCH | oklch(55.48% 0.147 299.9) |
| XYZ | xyz(21.7619, 15.7370, 48.8951) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.21
Royal Purple
#7851A9
ΔE00 4.26
Amethyst
#9B5FC0
ΔE00 5.75
Light Indigo
#6D5ACF
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 6.06
Purpley
#8756E4
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BBB #95BB5B
analogous
#5B65BB #815BBB #B15BBB
triadic
#815BBB #BB815B #5BBB81
tetradic
#815BBB #BB5B65 #95BB5B #5BBBB1
square
#815BBB #BB5B65 #95BB5B #5BBBB1
split-complementary
#815BBB #BBB15B #65BB5B
monochromatic
#472E6E #634099 #815BBB #A286CD #C3B2DF
Accessibility & contrast
On white
5.06
#815BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#815BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815BBB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815BBB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#756D82
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #815bbb; /* rgb */ color: rgb(129, 91, 187); /* oklch */ color: oklch(55.5% 0.147 299.9);
Tailwind
colors: {
custom: {
50: '#a88ad0',
500: '#815bbb',
950: '#000000',
},
}SCSS
$custom: #815bbb; $custom-light: #a88ad0; $custom-dark: #000000;
JSON
{
"hex": "#815bbb",
"rgb": {
"r": 129,
"g": 91,
"b": 187
},
"hsl": {
"h": 263.75,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.55476,
"c": 0.14688,
"h": 299.9
},
"luminance": 0.15737
}Semantic roles & 50–950 ramp
primary
#815BBB
secondary
#BDCDA5
accent
#D157A1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82