#813CC3#813CC3
#813CC3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.201 H 303.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #813CC3 |
|---|---|
| RGB | rgb(129, 60, 195) |
| HSL | hsl(271, 53%, 50%) |
| HSV | hsv(271, 69%, 76%) |
| CMYK | cmyk(33.8%, 69.2%, 0%, 23.5%) |
| CIE-LAB | lab(40.96, 54.42, -58.95) |
| CIE-LCH | lch(40.96, 80.23, 312.72°) |
| OKLab | oklab(51.51% 0.1105 -0.1676) |
| OKLCH | oklch(51.51% 0.201 303.4) |
| XYZ | xyz(20.5172, 11.8390, 52.8234) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.20
Blueviolet
#8A2BE2
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 5.62
Bluish Purple
#703BE7
ΔE00 5.82
Purply
#983FB2
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813CC3 #7EC33C
analogous
#3E3CC3 #813CC3 #C33CC1
triadic
#813CC3 #C3813C #3CC381
tetradic
#813CC3 #C33E3C #7EC33C #3CC1C3
square
#813CC3 #C33E3C #7EC33C #3CC1C3
split-complementary
#813CC3 #C1C33C #3CC33E
monochromatic
#431F65 #622E94 #813CC3 #9F6BD1 #BD9AE0
Accessibility & contrast
On white
6.24
#813CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#813CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813CC3
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813CC3 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#745B7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #813cc3; /* rgb */ color: rgb(129, 60, 195); /* oklch */ color: oklch(51.5% 0.201 303.4);
Tailwind
colors: {
custom: {
50: '#ab77d6',
500: '#813cc3',
950: '#000000',
},
}SCSS
$custom: #813cc3; $custom-light: #ab77d6; $custom-dark: #000000;
JSON
{
"hex": "#813cc3",
"rgb": {
"r": 129,
"g": 60,
"b": 195
},
"hsl": {
"h": 270.667,
"s": 52.941,
"l": 50
},
"oklch": {
"l": 0.51507,
"c": 0.2008,
"h": 303.4
},
"luminance": 0.11839
}Semantic roles & 50–950 ramp
primary
#813CC3
secondary
#ADCC8F
accent
#DC4B92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83