#815BDB#815BDB
#815BDB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.187 H 293.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #815BDB |
|---|---|
| RGB | rgb(129, 91, 219) |
| HSL | hsl(258, 64%, 61%) |
| HSV | hsv(258, 58%, 86%) |
| CMYK | cmyk(41.1%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(48.59, 44.40, -60.42) |
| CIE-LCH | lch(48.59, 74.98, 306.31°) |
| OKLab | oklab(57.55% 0.0741 -0.172) |
| OKLCH | oklch(57.55% 0.187 293.3) |
| XYZ | xyz(25.5771, 17.2631, 68.9886) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.91
Light Indigo
#6D5ACF
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 5.07
Dark Periwinkle
#665FD1
ΔE00 5.39
Iris
#6258C4
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BDB #B5DB5B
analogous
#5B75DB #815BDB #C15BDB
triadic
#815BDB #DB815B #5BDB81
tetradic
#815BDB #DB5B75 #B5DB5B #5BDBC1
square
#815BDB #DB5B75 #B5DB5B #5BDBC1
split-complementary
#815BDB #DBC15B #75DB5B
monochromatic
#45229A #5C2DCC #815BDB #A88DE6 #CEBFF1
Accessibility & contrast
On white
4.72
#815BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#815BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815BDB
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815BDB | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#1871D8
Tritanopia (blue-blind)
#697792
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #815bdb; /* rgb */ color: rgb(129, 91, 219); /* oklch */ color: oklch(57.6% 0.187 293.3);
Tailwind
colors: {
custom: {
50: '#ab8be7',
500: '#815bdb',
950: '#000000',
},
}SCSS
$custom: #815bdb; $custom-light: #ab8be7; $custom-dark: #000000;
JSON
{
"hex": "#815bdb",
"rgb": {
"r": 129,
"g": 91,
"b": 219
},
"hsl": {
"h": 257.813,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.57554,
"c": 0.18733,
"h": 293.3
},
"luminance": 0.17264
}Semantic roles & 50–950 ramp
primary
#815BDB
secondary
#D3E1B1
accent
#CC1A97
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84