#815FBF#815FBF
#815FBF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.4% C 0.146 H 297.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #815FBF |
|---|---|
| RGB | rgb(129, 95, 191) |
| HSL | hsl(261, 43%, 56%) |
| HSV | hsv(261, 50%, 75%) |
| CMYK | cmyk(32.5%, 50.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.77, 34.65, -45.68) |
| CIE-LCH | lch(47.77, 57.34, 307.19°) |
| OKLab | oklab(56.4% 0.0682 -0.1288) |
| OKLCH | oklch(56.4% 0.146 297.9) |
| XYZ | xyz(22.5471, 16.6129, 51.2988) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.51
Light Indigo
#6D5ACF
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FBF #9DBF5F
analogous
#5F6DBF #815FBF #B15FBF
triadic
#815FBF #BF815F #5FBF81
tetradic
#815FBF #BF5F6D #9DBF5F #5FBFB1
square
#815FBF #BF5F6D #9DBF5F #5FBFB1
split-complementary
#815FBF #BFB15F #6DBF5F
monochromatic
#482F75 #6240A1 #815FBF #A38BD0 #C6B6E2
Accessibility & contrast
On white
4.86
#815FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#815FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FBF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FBF | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D72C2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#747186
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815fbf; /* rgb */ color: rgb(129, 95, 191); /* oklch */ color: oklch(56.4% 0.146 297.9);
Tailwind
colors: {
custom: {
50: '#a88dd3',
500: '#815fbf',
950: '#000000',
},
}SCSS
$custom: #815fbf; $custom-light: #a88dd3; $custom-dark: #000000;
JSON
{
"hex": "#815fbf",
"rgb": {
"r": 129,
"g": 95,
"b": 191
},
"hsl": {
"h": 261.25,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.56398,
"c": 0.14574,
"h": 297.9
},
"luminance": 0.16613
}Semantic roles & 50–950 ramp
primary
#815FBF
secondary
#C3D1A9
accent
#D355A6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83