#813F8A#813F8A
#813F8A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.2% C 0.136 H 322.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #813F8A |
|---|---|
| RGB | rgb(129, 63, 138) |
| HSL | hsl(293, 37%, 39%) |
| HSV | hsv(293, 54%, 54%) |
| CMYK | cmyk(6.5%, 54.3%, 0%, 45.9%) |
| CIE-LAB | lab(37.95, 40.16, -29.73) |
| CIE-LCH | lch(37.95, 49.97, 323.49°) |
| OKLab | oklab(48.19% 0.1079 -0.0822) |
| OKLCH | oklch(48.19% 0.136 322.7) |
| XYZ | xyz(15.4177, 10.0578, 25.1691) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 3.39
Warm Purple
#952E8F
ΔE00 4.71
Bruise
#7E4071
ΔE00 6.18
Medium Purple
#9E43A2
ΔE00 6.48
Ugly Purple
#A442A0
ΔE00 7.34
Purply
#983FB2
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813F8A #488A3F
analogous
#5C3F8A #813F8A #8A3F6E
triadic
#813F8A #8A813F #3F8A81
tetradic
#813F8A #8A5C3F #488A3F #3F6E8A
square
#813F8A #8A5C3F #488A3F #3F6E8A
split-complementary
#813F8A #6E8A3F #3F8A5C
monochromatic
#321936 #5A2C60 #813F8A #A655B1 #BC7FC5
Accessibility & contrast
On white
6.97
#813F8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#813F8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813F8A
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813F8A | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#83495E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #813f8a; /* rgb */ color: rgb(129, 63, 138); /* oklch */ color: oklch(48.2% 0.136 322.7);
Tailwind
colors: {
custom: {
50: '#a777ac',
500: '#813f8a',
950: '#000000',
},
}SCSS
$custom: #813f8a; $custom-light: #a777ac; $custom-dark: #000000;
JSON
{
"hex": "#813f8a",
"rgb": {
"r": 129,
"g": 63,
"b": 138
},
"hsl": {
"h": 292.8,
"s": 37.313,
"l": 39.412
},
"oklch": {
"l": 0.48185,
"c": 0.13569,
"h": 322.7
},
"luminance": 0.10057
}Semantic roles & 50–950 ramp
primary
#813F8A
secondary
#7DAF76
accent
#CD5B68
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F