#815FBB#815FBB
#815FBB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.141 H 298.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #815FBB |
|---|---|
| RGB | rgb(129, 95, 187) |
| HSL | hsl(262, 40%, 55%) |
| HSV | hsv(262, 49%, 73%) |
| CMYK | cmyk(31%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(47.55, 33.62, -43.72) |
| CIE-LCH | lch(47.55, 55.15, 307.56°) |
| OKLab | oklab(56.16% 0.0678 -0.123) |
| OKLCH | oklch(56.16% 0.141 298.9) |
| XYZ | xyz(22.1130, 16.4392, 49.0122) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.10
Royal Purple
#7851A9
ΔE00 5.14
Amethyst
#9B5FC0
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.23
Deep Lilac
#966EBD
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FBB #99BB5F
analogous
#5F6BBB #815FBB #AF5FBB
triadic
#815FBB #BB815F #5FBB81
tetradic
#815FBB #BB5F6B #99BB5F #5FBBAF
square
#815FBB #BB5F6B #99BB5F #5FBBAF
split-complementary
#815FBB #BBAF5F #6BBB5F
monochromatic
#473070 #63429B #815FBB #A38ACD #C5B5E0
Accessibility & contrast
On white
4.90
#815FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#815FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FBB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FBB | 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)
#4171BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#757084
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #815fbb; /* rgb */ color: rgb(129, 95, 187); /* oklch */ color: oklch(56.2% 0.141 298.9);
Tailwind
colors: {
custom: {
50: '#a88dd0',
500: '#815fbb',
950: '#000000',
},
}SCSS
$custom: #815fbb; $custom-light: #a88dd0; $custom-dark: #000000;
JSON
{
"hex": "#815fbb",
"rgb": {
"r": 129,
"g": 95,
"b": 187
},
"hsl": {
"h": 262.174,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.5616,
"c": 0.14051,
"h": 298.9
},
"luminance": 0.16439
}Semantic roles & 50–950 ramp
primary
#815FBB
secondary
#C0CEA8
accent
#D058A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82