#813DC1#813DC1
#813DC1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.197 H 303.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #813DC1 |
|---|---|
| RGB | rgb(129, 61, 193) |
| HSL | hsl(271, 52%, 50%) |
| HSV | hsv(271, 68%, 76%) |
| CMYK | cmyk(33.2%, 68.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.98, 53.47, -57.74) |
| CIE-LCH | lch(40.98, 78.70, 312.80°) |
| OKLab | oklab(51.48% 0.1097 -0.1641) |
| OKLCH | oklch(51.48% 0.197 303.8) |
| XYZ | xyz(20.3454, 11.8549, 51.6581) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 5.72
Darkviolet
#9400D3
ΔE00 5.83
Purply
#983FB2
ΔE00 5.87
Bluish Purple
#703BE7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813DC1 #7DC13D
analogous
#3F3DC1 #813DC1 #C13DBF
triadic
#813DC1 #C1813D #3DC181
tetradic
#813DC1 #C13F3D #7DC13D #3DBFC1
square
#813DC1 #C13F3D #7DC13D #3DBFC1
split-complementary
#813DC1 #BFC13D #3DC13F
monochromatic
#432064 #622E92 #813DC1 #9F6BD0 #BD99DF
Accessibility & contrast
On white
6.23
#813DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#813DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813DC1
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813DC1 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#755B7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #813dc1; /* rgb */ color: rgb(129, 61, 193); /* oklch */ color: oklch(51.5% 0.197 303.8);
Tailwind
colors: {
custom: {
50: '#ab77d5',
500: '#813dc1',
950: '#000000',
},
}SCSS
$custom: #813dc1; $custom-light: #ab77d5; $custom-dark: #000000;
JSON
{
"hex": "#813dc1",
"rgb": {
"r": 129,
"g": 61,
"b": 193
},
"hsl": {
"h": 270.909,
"s": 51.969,
"l": 49.804
},
"oklch": {
"l": 0.5148,
"c": 0.19742,
"h": 303.8
},
"luminance": 0.11855
}Semantic roles & 50–950 ramp
primary
#813DC1
secondary
#ACCB8F
accent
#DB4C92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83