#815EBF#815EBF
#815EBF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.147 H 298.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #815EBF |
|---|---|
| RGB | rgb(129, 94, 191) |
| HSL | hsl(262, 43%, 56%) |
| HSV | hsv(262, 51%, 75%) |
| CMYK | cmyk(32.5%, 50.8%, 0%, 25.1%) |
| CIE-LAB | lab(47.54, 35.24, -46.05) |
| CIE-LCH | lch(47.54, 57.98, 307.42°) |
| OKLab | oklab(56.23% 0.0696 -0.1299) |
| OKLCH | oklch(56.23% 0.147 298.2) |
| XYZ | xyz(22.4576, 16.4339, 51.2690) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.50
Royal Purple
#7851A9
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.34
Slate Blue
#6A5ACD
ΔE00 5.68
Amethyst
#9B5FC0
ΔE00 5.75
Purpley
#8756E4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815EBF #9CBF5E
analogous
#5E6BBF #815EBF #B15EBF
triadic
#815EBF #BF815E #5EBF81
tetradic
#815EBF #BF5E6B #9CBF5E #5EBFB1
square
#815EBF #BF5E6B #9CBF5E #5EBFB1
split-complementary
#815EBF #BFB15E #6BBF5E
monochromatic
#482E74 #6240A0 #815EBF #A38AD0 #C6B6E2
Accessibility & contrast
On white
4.90
#815EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#815EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815EBF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815EBF | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#747186
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815ebf; /* rgb */ color: rgb(129, 94, 191); /* oklch */ color: oklch(56.2% 0.147 298.2);
Tailwind
colors: {
custom: {
50: '#a88cd3',
500: '#815ebf',
950: '#000000',
},
}SCSS
$custom: #815ebf; $custom-light: #a88cd3; $custom-dark: #000000;
JSON
{
"hex": "#815ebf",
"rgb": {
"r": 129,
"g": 94,
"b": 191
},
"hsl": {
"h": 261.649,
"s": 43.111,
"l": 55.882
},
"oklch": {
"l": 0.56227,
"c": 0.14732,
"h": 298.2
},
"luminance": 0.16434
}Semantic roles & 50–950 ramp
primary
#815EBF
secondary
#C2D0A8
accent
#D355A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83