#813FC4#813FC4
#813FC4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.198 H 302.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #813FC4 |
|---|---|
| RGB | rgb(129, 63, 196) |
| HSL | hsl(270, 53%, 51%) |
| HSV | hsv(270, 68%, 77%) |
| CMYK | cmyk(34.2%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(41.54, 53.24, -58.58) |
| CIE-LCH | lch(41.54, 79.16, 312.26°) |
| OKLab | oklab(51.95% 0.1072 -0.1666) |
| OKLCH | oklch(51.95% 0.198 302.8) |
| XYZ | xyz(20.7922, 12.2076, 53.4748) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 5.55
Bluish Purple
#703BE7
ΔE00 5.70
Purply
#983FB2
ΔE00 6.08
Darkviolet
#9400D3
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FC4 #82C43F
analogous
#3F3FC4 #813FC4 #C33FC4
triadic
#813FC4 #C4813F #3FC481
tetradic
#813FC4 #C43F3F #82C43F #3FC4C3
square
#813FC4 #C43F3F #82C43F #3FC4C3
split-complementary
#813FC4 #C4C33F #3FC43F
monochromatic
#442068 #632E97 #813FC4 #A06ED2 #BE9DE1
Accessibility & contrast
On white
6.10
#813FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#813FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FC4
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FC4 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#745D7C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #813fc4; /* rgb */ color: rgb(129, 63, 196); /* oklch */ color: oklch(51.9% 0.198 302.8);
Tailwind
colors: {
custom: {
50: '#ab79d7',
500: '#813fc4',
950: '#000000',
},
}SCSS
$custom: #813fc4; $custom-light: #ab79d7; $custom-dark: #000000;
JSON
{
"hex": "#813fc4",
"rgb": {
"r": 129,
"g": 63,
"b": 196
},
"hsl": {
"h": 269.774,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.51948,
"c": 0.19811,
"h": 302.8
},
"luminance": 0.12208
}Semantic roles & 50–950 ramp
primary
#813FC4
secondary
#B0CD92
accent
#DC4B94
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83