#813EBA#813EBA
#813EBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.189 H 305.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #813EBA |
|---|---|
| RGB | rgb(129, 62, 186) |
| HSL | hsl(272, 50%, 49%) |
| HSV | hsv(272, 67%, 73%) |
| CMYK | cmyk(30.6%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(40.67, 51.33, -54.15) |
| CIE-LCH | lch(40.67, 74.62, 313.47°) |
| OKLab | oklab(51.1% 0.1095 -0.1536) |
| OKLCH | oklch(51.1% 0.189 305.5) |
| XYZ | xyz(19.6369, 11.6577, 47.6605) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.57
Purply
#983FB2
ΔE00 5.25
Royal Purple
#7851A9
ΔE00 5.70
Blueviolet
#8A2BE2
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 6.25
Darkviolet
#9400D3
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813EBA #77BA3E
analogous
#433EBA #813EBA #BA3EB5
triadic
#813EBA #BA813E #3EBA81
tetradic
#813EBA #BA433E #77BA3E #3EB5BA
square
#813EBA #BA433E #77BA3E #3EB5BA
split-complementary
#813EBA #B5BA3E #3EBA43
monochromatic
#411F5E #612F8C #813EBA #9F68CD #BC96DC
Accessibility & contrast
On white
6.30
#813EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#813EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813EBA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813EBA | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#775977
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #813eba; /* rgb */ color: rgb(129, 62, 186); /* oklch */ color: oklch(51.1% 0.189 305.5);
Tailwind
colors: {
custom: {
50: '#aa78cf',
500: '#813eba',
950: '#000000',
},
}SCSS
$custom: #813eba; $custom-light: #aa78cf; $custom-dark: #000000;
JSON
{
"hex": "#813eba",
"rgb": {
"r": 129,
"g": 62,
"b": 186
},
"hsl": {
"h": 272.419,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.51097,
"c": 0.1886,
"h": 305.5
},
"luminance": 0.11658
}Semantic roles & 50–950 ramp
primary
#813EBA
secondary
#A7C88C
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82