#813FC2#813FC2
#813FC2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.196 H 303.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #813FC2 |
|---|---|
| RGB | rgb(129, 63, 194) |
| HSL | hsl(270, 52%, 50%) |
| HSV | hsv(270, 68%, 76%) |
| CMYK | cmyk(33.5%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(41.40, 52.75, -57.65) |
| CIE-LCH | lch(41.40, 78.14, 312.46°) |
| OKLab | oklab(51.8% 0.1075 -0.1638) |
| OKLCH | oklch(51.8% 0.196 303.3) |
| XYZ | xyz(20.5661, 12.1172, 52.2838) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 4.80
Bluey Purple
#6241C7
ΔE00 5.65
Purply
#983FB2
ΔE00 5.90
Bluish Purple
#703BE7
ΔE00 5.98
Royal Purple
#7851A9
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FC2 #80C23F
analogous
#3F3FC2 #813FC2 #C23FC2
triadic
#813FC2 #C2813F #3FC281
tetradic
#813FC2 #C23F3F #80C23F #3FC2C2
square
#813FC2 #C23F3F #80C23F #3FC2C2
split-complementary
#813FC2 #C2C23F #3FC23F
monochromatic
#442066 #622F95 #813FC2 #9F6DD1 #BE9CE0
Accessibility & contrast
On white
6.13
#813FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#813FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FC2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FC2 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0161BF
Tritanopia (blue-blind)
#745D7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #813fc2; /* rgb */ color: rgb(129, 63, 194); /* oklch */ color: oklch(51.8% 0.196 303.3);
Tailwind
colors: {
custom: {
50: '#aa79d5',
500: '#813fc2',
950: '#000000',
},
}SCSS
$custom: #813fc2; $custom-light: #aa79d5; $custom-dark: #000000;
JSON
{
"hex": "#813fc2",
"rgb": {
"r": 129,
"g": 63,
"b": 194
},
"hsl": {
"h": 270.229,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.51801,
"c": 0.19595,
"h": 303.3
},
"luminance": 0.12117
}Semantic roles & 50–950 ramp
primary
#813FC2
secondary
#AECC91
accent
#DB4D93
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83