#815FB2#815FB2
#815FB2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.6% C 0.129 H 301.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #815FB2 |
|---|---|
| RGB | rgb(129, 95, 178) |
| HSL | hsl(265, 35%, 54%) |
| HSV | hsv(265, 47%, 70%) |
| CMYK | cmyk(27.5%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(47.06, 31.32, -39.25) |
| CIE-LCH | lch(47.06, 50.21, 308.59°) |
| OKLab | oklab(55.64% 0.0667 -0.11) |
| OKLCH | oklch(55.64% 0.129 301.2) |
| XYZ | xyz(21.1795, 16.0658, 44.0961) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.70
Royal Purple
#7851A9
ΔE00 4.61
Amethyst
#9B5FC0
ΔE00 5.69
Deep Lilac
#966EBD
ΔE00 6.50
Light Indigo
#6D5ACF
ΔE00 7.37
Slate Blue
#6A5ACD
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FB2 #90B25F
analogous
#5F66B2 #815FB2 #AA5FB2
triadic
#815FB2 #B2815F #5FB281
tetradic
#815FB2 #B25F66 #90B25F #5FB2AA
square
#815FB2 #B25F66 #90B25F #5FB2AA
split-complementary
#815FB2 #B2AA5F #66B25F
monochromatic
#473166 #63458F #815FB2 #A288C6 #C2B2DA
Accessibility & contrast
On white
4.98
#815FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#815FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FB2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FB2 | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#786E80
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #815fb2; /* rgb */ color: rgb(129, 95, 178); /* oklch */ color: oklch(55.6% 0.129 301.2);
Tailwind
colors: {
custom: {
50: '#a88dc9',
500: '#815fb2',
950: '#000000',
},
}SCSS
$custom: #815fb2; $custom-light: #a88dc9; $custom-dark: #000000;
JSON
{
"hex": "#815fb2",
"rgb": {
"r": 129,
"g": 95,
"b": 178
},
"hsl": {
"h": 264.578,
"s": 35.021,
"l": 53.529
},
"oklch": {
"l": 0.55639,
"c": 0.12867,
"h": 301.2
},
"luminance": 0.16066
}Semantic roles & 50–950 ramp
primary
#815FB2
secondary
#BAC8A5
accent
#CB5D9E
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82