#813CC4#813CC4
#813CC4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.202 H 303.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #813CC4 |
|---|---|
| RGB | rgb(129, 60, 196) |
| HSL | hsl(270, 54%, 50%) |
| HSV | hsv(270, 69%, 77%) |
| CMYK | cmyk(34.2%, 69.4%, 0%, 23.1%) |
| CIE-LAB | lab(41.03, 54.66, -59.41) |
| CIE-LCH | lch(41.03, 80.73, 312.62°) |
| OKLab | oklab(51.58% 0.1104 -0.169) |
| OKLCH | oklch(51.58% 0.202 303.1) |
| XYZ | xyz(20.6306, 11.8844, 53.4209) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.19
Blueviolet
#8A2BE2
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 5.57
Darkviolet
#9400D3
ΔE00 5.59
Bluish Purple
#703BE7
ΔE00 5.68
Burple
#6832E3
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813CC4 #7FC43C
analogous
#3D3CC4 #813CC4 #C43CC3
triadic
#813CC4 #C4813C #3CC481
tetradic
#813CC4 #C43D3C #7FC43C #3CC3C4
square
#813CC4 #C43D3C #7FC43C #3CC3C4
split-complementary
#813CC4 #C3C43C #3CC43D
monochromatic
#431F67 #622D96 #813CC4 #9F6BD2 #BE9AE0
Accessibility & contrast
On white
6.22
#813CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#813CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813CC4
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813CC4 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#745C7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #813cc4; /* rgb */ color: rgb(129, 60, 196); /* oklch */ color: oklch(51.6% 0.202 303.1);
Tailwind
colors: {
custom: {
50: '#ab77d7',
500: '#813cc4',
950: '#000000',
},
}SCSS
$custom: #813cc4; $custom-light: #ab77d7; $custom-dark: #000000;
JSON
{
"hex": "#813cc4",
"rgb": {
"r": 129,
"g": 60,
"b": 196
},
"hsl": {
"h": 270.441,
"s": 53.543,
"l": 50.196
},
"oklch": {
"l": 0.51582,
"c": 0.20186,
"h": 303.1
},
"luminance": 0.11884
}Semantic roles & 50–950 ramp
primary
#813CC4
secondary
#ADCC90
accent
#DD4B93
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83