#813CB3#813CB3
#813CB3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.184 H 307.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #813CB3 |
|---|---|
| RGB | rgb(129, 60, 179) |
| HSL | hsl(275, 50%, 47%) |
| HSV | hsv(275, 66%, 70%) |
| CMYK | cmyk(27.9%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(39.84, 50.66, -51.37) |
| CIE-LCH | lch(39.84, 72.15, 314.60°) |
| OKLab | oklab(50.35% 0.1124 -0.1454) |
| OKLCH | oklch(50.35% 0.184 307.7) |
| XYZ | xyz(18.8041, 11.1538, 43.8014) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.04
Royal Purple
#7851A9
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 6.30
Purple (survey)
#7E1E9C
ΔE00 6.40
Darkviolet
#9400D3
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813CB3 #6EB33C
analogous
#463CB3 #813CB3 #B33CAA
triadic
#813CB3 #B3813C #3CB381
tetradic
#813CB3 #B3463C #6EB33C #3CAAB3
square
#813CB3 #B3463C #6EB33C #3CAAB3
split-complementary
#813CB3 #AAB33C #3CB346
monochromatic
#3F1D57 #602D85 #813CB3 #9E62CA #BB90DA
Accessibility & contrast
On white
6.50
#813CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#813CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813CB3
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813CB3 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#235FB0
Tritanopia (blue-blind)
#795572
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #813cb3; /* rgb */ color: rgb(129, 60, 179); /* oklch */ color: oklch(50.3% 0.184 307.7);
Tailwind
colors: {
custom: {
50: '#aa76ca',
500: '#813cb3',
950: '#000000',
},
}SCSS
$custom: #813cb3; $custom-light: #aa76ca; $custom-dark: #000000;
JSON
{
"hex": "#813cb3",
"rgb": {
"r": 129,
"g": 60,
"b": 179
},
"hsl": {
"h": 274.79,
"s": 49.791,
"l": 46.863
},
"oklch": {
"l": 0.5035,
"c": 0.18375,
"h": 307.7
},
"luminance": 0.11154
}Semantic roles & 50–950 ramp
primary
#813CB3
secondary
#A0C586
accent
#D94E89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82