#815BCF#815BCF
#815BCF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.172 H 295.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #815BCF |
|---|---|
| RGB | rgb(129, 91, 207) |
| HSL | hsl(260, 55%, 58%) |
| HSV | hsv(260, 56%, 81%) |
| CMYK | cmyk(37.7%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(47.82, 41.18, -54.81) |
| CIE-LCH | lch(47.82, 68.55, 306.92°) |
| OKLab | oklab(56.74% 0.0742 -0.1556) |
| OKLCH | oklch(56.74% 0.172 295.5) |
| XYZ | xyz(24.0539, 16.6538, 60.9666) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.28
Light Indigo
#6D5ACF
ΔE00 3.91
Slate Blue
#6A5ACD
ΔE00 4.47
Dark Periwinkle
#665FD1
ΔE00 5.55
Deep Lavender
#8D5EB7
ΔE00 5.64
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BCF #A9CF5B
analogous
#5B6FCF #815BCF #BB5BCF
triadic
#815BCF #CF815B #5BCF81
tetradic
#815BCF #CF5B6F #A9CF5B #5BCFBB
square
#815BCF #CF5B6F #A9CF5B #5BCFBB
split-complementary
#815BCF #CFBB5B #6FCF5B
monochromatic
#472888 #6036B7 #815BCF #A58ADD #CABAEB
Accessibility & contrast
On white
4.85
#815BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#815BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815BCF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815BCF | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#6E738C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815bcf; /* rgb */ color: rgb(129, 91, 207); /* oklch */ color: oklch(56.7% 0.172 295.5);
Tailwind
colors: {
custom: {
50: '#aa8bde',
500: '#815bcf',
950: '#000000',
},
}SCSS
$custom: #815bcf; $custom-light: #aa8bde; $custom-dark: #000000;
JSON
{
"hex": "#815bcf",
"rgb": {
"r": 129,
"g": 91,
"b": 207
},
"hsl": {
"h": 259.655,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.56743,
"c": 0.17234,
"h": 295.5
},
"luminance": 0.16654
}Semantic roles & 50–950 ramp
primary
#815BCF
secondary
#CBDAAC
accent
#DE4AAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83