#813BBF#813BBF
#813BBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.198 H 304.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #813BBF |
|---|---|
| RGB | rgb(129, 59, 191) |
| HSL | hsl(272, 53%, 49%) |
| HSV | hsv(272, 69%, 75%) |
| CMYK | cmyk(32.5%, 69.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.50, 53.94, -57.35) |
| CIE-LCH | lch(40.50, 78.73, 313.25°) |
| OKLab | oklab(51.09% 0.1121 -0.163) |
| OKLCH | oklch(51.09% 0.198 304.5) |
| XYZ | xyz(20.0191, 11.5567, 50.4561) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 4.90
Darkviolet
#9400D3
ΔE00 5.59
Purply
#983FB2
ΔE00 5.79
Bluey Purple
#6241C7
ΔE00 5.89
Bluish Purple
#703BE7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813BBF #79BF3B
analogous
#3F3BBF #813BBF #BF3BBB
triadic
#813BBF #BF813B #3BBF81
tetradic
#813BBF #BF3F3B #79BF3B #3BBBBF
square
#813BBF #BF3F3B #79BF3B #3BBBBF
split-complementary
#813BBF #BBBF3B #3BBF3F
monochromatic
#421E61 #612D90 #813BBF #9F67D0 #BC96DF
Accessibility & contrast
On white
6.34
#813BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#813BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813BBF
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813BBF | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#755979
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #813bbf; /* rgb */ color: rgb(129, 59, 191); /* oklch */ color: oklch(51.1% 0.198 304.5);
Tailwind
colors: {
custom: {
50: '#aa76d3',
500: '#813bbf',
950: '#000000',
},
}SCSS
$custom: #813bbf; $custom-light: #aa76d3; $custom-dark: #000000;
JSON
{
"hex": "#813bbf",
"rgb": {
"r": 129,
"g": 59,
"b": 191
},
"hsl": {
"h": 271.818,
"s": 52.8,
"l": 49.02
},
"oklch": {
"l": 0.51091,
"c": 0.19781,
"h": 304.5
},
"luminance": 0.11557
}Semantic roles & 50–950 ramp
primary
#813BBF
secondary
#A9CA8C
accent
#DC4C90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83