#813BBD#813BBD
#813BBD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.196 H 305.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #813BBD |
|---|---|
| RGB | rgb(129, 59, 189) |
| HSL | hsl(272, 52%, 49%) |
| HSV | hsv(272, 69%, 74%) |
| CMYK | cmyk(31.7%, 68.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.36, 53.47, -56.41) |
| CIE-LCH | lch(40.36, 77.73, 313.47°) |
| OKLab | oklab(50.94% 0.1124 -0.1602) |
| OKLCH | oklch(50.94% 0.196 305.1) |
| XYZ | xyz(19.8005, 11.4693, 49.3049) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.36
Blueviolet
#8A2BE2
ΔE00 5.17
Purply
#983FB2
ΔE00 5.63
Darkviolet
#9400D3
ΔE00 5.69
Bluey Purple
#6241C7
ΔE00 6.04
Royal Purple
#7851A9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813BBD #77BD3B
analogous
#403BBD #813BBD #BD3BB8
triadic
#813BBD #BD813B #3BBD81
tetradic
#813BBD #BD403B #77BD3B #3BB8BD
square
#813BBD #BD403B #77BD3B #3BB8BD
split-complementary
#813BBD #B8BD3B #3BBD40
monochromatic
#411E60 #612C8E #813BBD #9F66CF #BC95DE
Accessibility & contrast
On white
6.38
#813BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#813BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813BBD
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813BBD | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#765877
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #813bbd; /* rgb */ color: rgb(129, 59, 189); /* oklch */ color: oklch(50.9% 0.196 305.1);
Tailwind
colors: {
custom: {
50: '#aa76d2',
500: '#813bbd',
950: '#000000',
},
}SCSS
$custom: #813bbd; $custom-light: #aa76d2; $custom-dark: #000000;
JSON
{
"hex": "#813bbd",
"rgb": {
"r": 129,
"g": 59,
"b": 189
},
"hsl": {
"h": 272.308,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.50943,
"c": 0.19568,
"h": 305.1
},
"luminance": 0.11469
}Semantic roles & 50–950 ramp
primary
#813BBD
secondary
#A7C98B
accent
#DC4C8E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83