#815CB1#815CB1
#815CB1 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.132 H 302.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #815CB1 |
|---|---|
| RGB | rgb(129, 92, 177) |
| HSL | hsl(266, 35%, 53%) |
| HSV | hsv(266, 48%, 69%) |
| CMYK | cmyk(27.1%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(46.31, 32.82, -39.86) |
| CIE-LCH | lch(46.31, 51.63, 309.47°) |
| OKLab | oklab(55.06% 0.0708 -0.1118) |
| OKLCH | oklch(55.06% 0.132 302.4) |
| XYZ | xyz(20.8145, 15.4957, 43.4809) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.69
Royal Purple
#7851A9
ΔE00 3.76
Amethyst
#9B5FC0
ΔE00 5.76
Deep Lilac
#966EBD
ΔE00 7.20
Light Indigo
#6D5ACF
ΔE00 7.37
Slate Blue
#6A5ACD
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815CB1 #8CB15C
analogous
#5C61B1 #815CB1 #AC5CB1
triadic
#815CB1 #B1815C #5CB181
tetradic
#815CB1 #B15C61 #8CB15C #5CB1AC
square
#815CB1 #B15C61 #8CB15C #5CB1AC
split-complementary
#815CB1 #B1AC5C #61B15C
monochromatic
#462F63 #63438D #815CB1 #A185C5 #C1AFD9
Accessibility & contrast
On white
5.12
#815CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#815CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815CB1
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815CB1 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#786B7E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #815cb1; /* rgb */ color: rgb(129, 92, 177); /* oklch */ color: oklch(55.1% 0.132 302.4);
Tailwind
colors: {
custom: {
50: '#a88bc9',
500: '#815cb1',
950: '#000000',
},
}SCSS
$custom: #815cb1; $custom-light: #a88bc9; $custom-dark: #000000;
JSON
{
"hex": "#815cb1",
"rgb": {
"r": 129,
"g": 92,
"b": 177
},
"hsl": {
"h": 266.118,
"s": 35.27,
"l": 52.745
},
"oklch": {
"l": 0.55057,
"c": 0.13233,
"h": 302.4
},
"luminance": 0.15496
}Semantic roles & 50–950 ramp
primary
#815CB1
secondary
#B7C7A2
accent
#CB5C9B
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82