#813FB3#813FB3
#813FB3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.180 H 307.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #813FB3 |
|---|---|
| RGB | rgb(129, 63, 179) |
| HSL | hsl(274, 48%, 47%) |
| HSV | hsv(274, 65%, 70%) |
| CMYK | cmyk(27.9%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(40.37, 49.19, -50.51) |
| CIE-LCH | lch(40.37, 70.50, 314.24°) |
| OKLab | oklab(50.74% 0.1089 -0.1429) |
| OKLCH | oklch(50.74% 0.18 307.3) |
| XYZ | xyz(18.9658, 11.4770, 43.8553) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.76
Darkorchid
#9932CC
ΔE00 5.12
Royal Purple
#7851A9
ΔE00 5.15
Rebeccapurple
#663399
ΔE00 6.59
Blueviolet
#8A2BE2
ΔE00 6.84
Purple (survey)
#7E1E9C
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FB3 #71B33F
analogous
#473FB3 #813FB3 #B33FAB
triadic
#813FB3 #B3813F #3FB381
tetradic
#813FB3 #B3473F #71B33F #3FABB3
square
#813FB3 #B3473F #71B33F #3FABB3
split-complementary
#813FB3 #ABB33F #3FB347
monochromatic
#401F58 #602F86 #813FB3 #9E66C9 #BB93D9
Accessibility & contrast
On white
6.37
#813FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#813FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FB3
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FB3 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#795773
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #813fb3; /* rgb */ color: rgb(129, 63, 179); /* oklch */ color: oklch(50.7% 0.180 307.3);
Tailwind
colors: {
custom: {
50: '#a978ca',
500: '#813fb3',
950: '#000000',
},
}SCSS
$custom: #813fb3; $custom-light: #a978ca; $custom-dark: #000000;
JSON
{
"hex": "#813fb3",
"rgb": {
"r": 129,
"g": 63,
"b": 179
},
"hsl": {
"h": 274.138,
"s": 47.934,
"l": 47.451
},
"oklch": {
"l": 0.50735,
"c": 0.17964,
"h": 307.3
},
"luminance": 0.11477
}Semantic roles & 50–950 ramp
primary
#813FB3
secondary
#A3C489
accent
#D8508B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82