#813FC0#813FC0
#813FC0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.194 H 303.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #813FC0 |
|---|---|
| RGB | rgb(129, 63, 192) |
| HSL | hsl(271, 51%, 50%) |
| HSV | hsv(271, 67%, 75%) |
| CMYK | cmyk(32.8%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(41.26, 52.27, -56.71) |
| CIE-LCH | lch(41.26, 77.12, 312.67°) |
| OKLab | oklab(51.65% 0.1077 -0.1611) |
| OKLCH | oklch(51.65% 0.194 303.8) |
| XYZ | xyz(20.3430, 12.0280, 51.1089) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.36
Blueviolet
#8A2BE2
ΔE00 5.05
Purply
#983FB2
ΔE00 5.72
Bluey Purple
#6241C7
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 5.97
Darkviolet
#9400D3
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FC0 #7EC03F
analogous
#413FC0 #813FC0 #C03FBE
triadic
#813FC0 #C0813F #3FC081
tetradic
#813FC0 #C0413F #7EC03F #3FBEC0
square
#813FC0 #C0413F #7EC03F #3FBEC0
split-complementary
#813FC0 #BEC03F #3FC041
monochromatic
#432164 #623092 #813FC0 #9F6DCF #BD9BDE
Accessibility & contrast
On white
6.17
#813FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#813FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FC0
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FC0 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0B61BD
Tritanopia (blue-blind)
#755C7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #813fc0; /* rgb */ color: rgb(129, 63, 192); /* oklch */ color: oklch(51.7% 0.194 303.8);
Tailwind
colors: {
custom: {
50: '#aa79d4',
500: '#813fc0',
950: '#000000',
},
}SCSS
$custom: #813fc0; $custom-light: #aa79d4; $custom-dark: #000000;
JSON
{
"hex": "#813fc0",
"rgb": {
"r": 129,
"g": 63,
"b": 192
},
"hsl": {
"h": 270.698,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.51655,
"c": 0.19378,
"h": 303.8
},
"luminance": 0.12028
}Semantic roles & 50–950 ramp
primary
#813FC0
secondary
#ADCA91
accent
#DA4E92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83