#815BCA#815BCA
#815BCA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.166 H 296.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #815BCA |
|---|---|
| RGB | rgb(129, 91, 202) |
| HSL | hsl(261, 51%, 57%) |
| HSV | hsv(261, 55%, 79%) |
| CMYK | cmyk(36.1%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(47.51, 39.85, -52.43) |
| CIE-LCH | lch(47.51, 65.86, 307.23°) |
| OKLab | oklab(56.42% 0.0741 -0.1486) |
| OKLCH | oklch(56.42% 0.166 296.5) |
| XYZ | xyz(23.4523, 16.4132, 57.7981) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 4.65
Deep Lavender
#8D5EB7
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.83
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815BCA #A4CA5B
analogous
#5B6CCA #815BCA #B95BCA
triadic
#815BCA #CA815B #5BCA81
tetradic
#815BCA #CA5B6C #A4CA5B #5BCAB9
square
#815BCA #CA5B6C #A4CA5B #5BCAB9
split-complementary
#815BCA #CAB95B #6CCA5B
monochromatic
#482A81 #6139AF #815BCA #A589D9 #C8B8E8
Accessibility & contrast
On white
4.90
#815BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#815BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815BCA
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815BCA | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#70728A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815bca; /* rgb */ color: rgb(129, 91, 202); /* oklch */ color: oklch(56.4% 0.166 296.5);
Tailwind
colors: {
custom: {
50: '#aa8adb',
500: '#815bca',
950: '#000000',
},
}SCSS
$custom: #815bca; $custom-light: #aa8adb; $custom-dark: #000000;
JSON
{
"hex": "#815bca",
"rgb": {
"r": 129,
"g": 91,
"b": 202
},
"hsl": {
"h": 260.541,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.56416,
"c": 0.16603,
"h": 296.5
},
"luminance": 0.16414
}Semantic roles & 50–950 ramp
primary
#815BCA
secondary
#C7D7AA
accent
#DB4DAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83