#813AB9#813AB9
#813AB9 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.193 H 306.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #813AB9 |
|---|---|
| RGB | rgb(129, 58, 185) |
| HSL | hsl(274, 52%, 48%) |
| HSV | hsv(274, 69%, 73%) |
| CMYK | cmyk(30.3%, 68.6%, 0%, 27.5%) |
| CIE-LAB | lab(39.91, 53.01, -54.79) |
| CIE-LCH | lch(39.91, 76.23, 314.05°) |
| OKLab | oklab(50.53% 0.114 -0.1554) |
| OKLCH | oklch(50.53% 0.193 306.3) |
| XYZ | xyz(19.3214, 11.1962, 47.0327) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.57
Purply
#983FB2
ΔE00 5.40
Blueviolet
#8A2BE2
ΔE00 5.70
Darkviolet
#9400D3
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 6.34
Bluey Purple
#6241C7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813AB9 #72B93A
analogous
#413AB9 #813AB9 #B93AB2
triadic
#813AB9 #B9813A #3AB981
tetradic
#813AB9 #B9413A #72B93A #3AB2B9
square
#813AB9 #B9413A #72B93A #3AB2B9
split-complementary
#813AB9 #B2B93A #3AB941
monochromatic
#401D5C #612B8A #813AB9 #9E62CE #BB91DC
Accessibility & contrast
On white
6.48
#813AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#813AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813AB9
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813AB9 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#775675
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #813ab9; /* rgb */ color: rgb(129, 58, 185); /* oklch */ color: oklch(50.5% 0.193 306.3);
Tailwind
colors: {
custom: {
50: '#aa76cf',
500: '#813ab9',
950: '#000000',
},
}SCSS
$custom: #813ab9; $custom-light: #aa76cf; $custom-dark: #000000;
JSON
{
"hex": "#813ab9",
"rgb": {
"r": 129,
"g": 58,
"b": 185
},
"hsl": {
"h": 273.543,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.50532,
"c": 0.19274,
"h": 306.3
},
"luminance": 0.11196
}Semantic roles & 50–950 ramp
primary
#813AB9
secondary
#A4C787
accent
#DC4C8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82