#815FBE#815FBE
#815FBE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.144 H 298.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #815FBE |
|---|---|
| RGB | rgb(129, 95, 190) |
| HSL | hsl(261, 42%, 56%) |
| HSV | hsv(261, 50%, 75%) |
| CMYK | cmyk(32.1%, 50%, 0%, 25.5%) |
| CIE-LAB | lab(47.71, 34.39, -45.19) |
| CIE-LCH | lch(47.71, 56.79, 307.28°) |
| OKLab | oklab(56.34% 0.0681 -0.1274) |
| OKLCH | oklch(56.34% 0.144 298.1) |
| XYZ | xyz(22.4375, 16.5690, 50.7212) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.40
Royal Purple
#7851A9
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.54
Amethyst
#9B5FC0
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 5.86
Purpley
#8756E4
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FBE #9CBE5F
analogous
#5F6CBE #815FBE #B05FBE
triadic
#815FBE #BE815F #5FBE81
tetradic
#815FBE #BE5F6C #9CBE5F #5FBEB0
square
#815FBE #BE5F6C #9CBE5F #5FBEB0
split-complementary
#815FBE #BEB05F #6CBE5F
monochromatic
#482F74 #62419F #815FBE #A38BD0 #C6B6E1
Accessibility & contrast
On white
4.87
#815FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#815FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FBE
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FBE | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E71C1
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#747186
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815fbe; /* rgb */ color: rgb(129, 95, 190); /* oklch */ color: oklch(56.3% 0.144 298.1);
Tailwind
colors: {
custom: {
50: '#a88dd2',
500: '#815fbe',
950: '#000000',
},
}SCSS
$custom: #815fbe; $custom-light: #a88dd2; $custom-dark: #000000;
JSON
{
"hex": "#815fbe",
"rgb": {
"r": 129,
"g": 95,
"b": 190
},
"hsl": {
"h": 261.474,
"s": 42.222,
"l": 55.882
},
"oklch": {
"l": 0.56338,
"c": 0.14444,
"h": 298.1
},
"luminance": 0.16569
}Semantic roles & 50–950 ramp
primary
#815FBE
secondary
#C2D0A9
accent
#D256A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82