#813EBC#813EBC
#813EBC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.191 H 304.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #813EBC |
|---|---|
| RGB | rgb(129, 62, 188) |
| HSL | hsl(272, 50%, 49%) |
| HSV | hsv(272, 67%, 74%) |
| CMYK | cmyk(31.4%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(40.81, 51.80, -55.10) |
| CIE-LCH | lch(40.81, 75.63, 313.23°) |
| OKLab | oklab(51.24% 0.1093 -0.1564) |
| OKLCH | oklch(51.24% 0.191 304.9) |
| XYZ | xyz(19.8510, 11.7433, 48.7881) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.47
Purply
#983FB2
ΔE00 5.41
Blueviolet
#8A2BE2
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 5.83
Bluey Purple
#6241C7
ΔE00 6.07
Darkviolet
#9400D3
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813EBC #79BC3E
analogous
#423EBC #813EBC #BC3EB8
triadic
#813EBC #BC813E #3EBC81
tetradic
#813EBC #BC423E #79BC3E #3EB8BC
square
#813EBC #BC423E #79BC3E #3EB8BC
split-complementary
#813EBC #B8BC3E #3EBC42
monochromatic
#422060 #612F8E #813EBC #9F6ACE #BC98DD
Accessibility & contrast
On white
6.27
#813EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#813EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813EBC
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813EBC | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#765A78
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #813ebc; /* rgb */ color: rgb(129, 62, 188); /* oklch */ color: oklch(51.2% 0.191 304.9);
Tailwind
colors: {
custom: {
50: '#aa78d1',
500: '#813ebc',
950: '#000000',
},
}SCSS
$custom: #813ebc; $custom-light: #aa78d1; $custom-dark: #000000;
JSON
{
"hex": "#813ebc",
"rgb": {
"r": 129,
"g": 62,
"b": 188
},
"hsl": {
"h": 271.905,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.5124,
"c": 0.19075,
"h": 304.9
},
"luminance": 0.11743
}Semantic roles & 50–950 ramp
primary
#813EBC
secondary
#A9C98D
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82