#813DC2#813DC2
#813DC2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.198 H 303.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #813DC2 |
|---|---|
| RGB | rgb(129, 61, 194) |
| HSL | hsl(271, 52%, 50%) |
| HSV | hsv(271, 69%, 76%) |
| CMYK | cmyk(33.5%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.06, 53.71, -58.21) |
| CIE-LCH | lch(41.06, 79.20, 312.70°) |
| OKLab | oklab(51.55% 0.1096 -0.1655) |
| OKLCH | oklch(51.55% 0.198 303.5) |
| XYZ | xyz(20.4574, 11.8997, 52.2476) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.24
Blueviolet
#8A2BE2
ΔE00 4.64
Bluey Purple
#6241C7
ΔE00 5.66
Darkviolet
#9400D3
ΔE00 5.80
Purply
#983FB2
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813DC2 #7EC23D
analogous
#3F3DC2 #813DC2 #C23DC0
triadic
#813DC2 #C2813D #3DC281
tetradic
#813DC2 #C23F3D #7EC23D #3DC0C2
square
#813DC2 #C23F3D #7EC23D #3DC0C2
split-complementary
#813DC2 #C0C23D #3DC23F
monochromatic
#432065 #622E93 #813DC2 #9F6CD1 #BD9ADF
Accessibility & contrast
On white
6.21
#813DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#813DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813DC2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813DC2 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#745C7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #813dc2; /* rgb */ color: rgb(129, 61, 194); /* oklch */ color: oklch(51.6% 0.198 303.5);
Tailwind
colors: {
custom: {
50: '#ab78d5',
500: '#813dc2',
950: '#000000',
},
}SCSS
$custom: #813dc2; $custom-light: #ab78d5; $custom-dark: #000000;
JSON
{
"hex": "#813dc2",
"rgb": {
"r": 129,
"g": 61,
"b": 194
},
"hsl": {
"h": 270.677,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.51554,
"c": 0.19848,
"h": 303.5
},
"luminance": 0.119
}Semantic roles & 50–950 ramp
primary
#813DC2
secondary
#ADCB90
accent
#DC4C92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83