#813AC0#813AC0
#813AC0 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.200 H 304.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #813AC0 |
|---|---|
| RGB | rgb(129, 58, 192) |
| HSL | hsl(272, 54%, 49%) |
| HSV | hsv(272, 70%, 75%) |
| CMYK | cmyk(32.8%, 69.8%, 0%, 24.7%) |
| CIE-LAB | lab(40.41, 54.64, -58.09) |
| CIE-LCH | lch(40.41, 79.75, 313.25°) |
| OKLab | oklab(51.05% 0.113 -0.1651) |
| OKLCH | oklch(51.05% 0.2 304.4) |
| XYZ | xyz(20.0786, 11.4991, 51.0207) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.25
Blueviolet
#8A2BE2
ΔE00 4.72
Darkviolet
#9400D3
ΔE00 5.40
Bluey Purple
#6241C7
ΔE00 5.84
Purply
#983FB2
ΔE00 5.92
Bluish Purple
#703BE7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813AC0 #79C03A
analogous
#3E3AC0 #813AC0 #C03ABC
triadic
#813AC0 #C0813A #3AC081
tetradic
#813AC0 #C03E3A #79C03A #3ABCC0
square
#813AC0 #C03E3A #79C03A #3ABCC0
split-complementary
#813AC0 #BCC03A #3AC03E
monochromatic
#421E62 #612C91 #813AC0 #9F66D1 #BC95DF
Accessibility & contrast
On white
6.36
#813AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#813AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813AC0
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813AC0 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#755979
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #813ac0; /* rgb */ color: rgb(129, 58, 192); /* oklch */ color: oklch(51.0% 0.200 304.4);
Tailwind
colors: {
custom: {
50: '#ab76d4',
500: '#813ac0',
950: '#000000',
},
}SCSS
$custom: #813ac0; $custom-light: #ab76d4; $custom-dark: #000000;
JSON
{
"hex": "#813ac0",
"rgb": {
"r": 129,
"g": 58,
"b": 192
},
"hsl": {
"h": 271.791,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.51046,
"c": 0.2001,
"h": 304.4
},
"luminance": 0.11499
}Semantic roles & 50–950 ramp
primary
#813AC0
secondary
#A9CA8B
accent
#DD4B90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83