#813BCC#813BCC
#813BCC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.212 H 301.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #813BCC |
|---|---|
| RGB | rgb(129, 59, 204) |
| HSL | hsl(269, 59%, 52%) |
| HSV | hsv(269, 71%, 80%) |
| CMYK | cmyk(36.8%, 71.1%, 0%, 20%) |
| CIE-LAB | lab(41.46, 57.04, -63.36) |
| CIE-LCH | lch(41.46, 85.25, 312.00°) |
| OKLab | oklab(52.07% 0.1101 -0.1806) |
| OKLCH | oklch(52.07% 0.212 301.4) |
| XYZ | xyz(21.5137, 12.1546, 58.3277) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.35
Darkorchid
#9932CC
ΔE00 4.24
Bluish Purple
#703BE7
ΔE00 4.63
Burple
#6832E3
ΔE00 5.29
Bluey Purple
#6241C7
ΔE00 5.33
Darkviolet
#9400D3
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813BCC #86CC3B
analogous
#3B3ECC #813BCC #CA3BCC
triadic
#813BCC #CC813B #3BCC81
tetradic
#813BCC #CC3B3E #86CC3B #3BCCCA
square
#813BCC #CC3B3E #86CC3B #3BCCCA
split-complementary
#813BCC #CCCA3B #3ECC3B
monochromatic
#451D70 #632AA0 #813BCC #A06CD9 #BF9CE5
Accessibility & contrast
On white
6.12
#813BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#813BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813BCC
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813BCC | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#715E80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #813bcc; /* rgb */ color: rgb(129, 59, 204); /* oklch */ color: oklch(52.1% 0.212 301.4);
Tailwind
colors: {
custom: {
50: '#ac77dc',
500: '#813bcc',
950: '#000000',
},
}SCSS
$custom: #813bcc; $custom-light: #ac77dc; $custom-dark: #000000;
JSON
{
"hex": "#813bcc",
"rgb": {
"r": 129,
"g": 59,
"b": 204
},
"hsl": {
"h": 268.966,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.52074,
"c": 0.21152,
"h": 301.4
},
"luminance": 0.12155
}Semantic roles & 50–950 ramp
primary
#813BCC
secondary
#B3D192
accent
#E24697
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83