#8A3F8D#8A3F8D
#8A3F8D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.6% C 0.144 H 326.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3F8D |
|---|---|
| RGB | rgb(138, 63, 141) |
| HSL | hsl(298, 38%, 40%) |
| HSV | hsv(298, 55%, 55%) |
| CMYK | cmyk(2.1%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(39.38, 43.36, -29.22) |
| CIE-LCH | lch(39.38, 52.29, 326.03°) |
| OKLab | oklab(49.56% 0.1194 -0.0805) |
| OKLCH | oklch(49.56% 0.144 326) |
| XYZ | xyz(17.0661, 10.8823, 26.3957) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 2.68
Warm Purple
#952E8F
ΔE00 3.52
Medium Purple
#9E43A2
ΔE00 4.95
Ugly Purple
#A442A0
ΔE00 5.63
Bruise
#7E4071
ΔE00 6.38
Purply
#983FB2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3F8D #428D3F
analogous
#633F8D #8A3F8D #8D3F69
triadic
#8A3F8D #8D8A3F #3F8D8A
tetradic
#8A3F8D #8D633F #428D3F #3F698D
square
#8A3F8D #8D633F #428D3F #3F698D
split-complementary
#8A3F8D #698D3F #3F8D63
monochromatic
#371938 #612C63 #8A3F8D #B056B3 #C480C6
Accessibility & contrast
On white
6.61
#8A3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8A3F8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3F8D
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3F8D | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#8D4860
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a3f8d; /* rgb */ color: rgb(138, 63, 141); /* oklch */ color: oklch(49.6% 0.144 326.0);
Tailwind
colors: {
custom: {
50: '#ae78ae',
500: '#8a3f8d',
950: '#000000',
},
}SCSS
$custom: #8a3f8d; $custom-light: #ae78ae; $custom-dark: #000000;
JSON
{
"hex": "#8a3f8d",
"rgb": {
"r": 138,
"g": 63,
"b": 141
},
"hsl": {
"h": 297.692,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.49558,
"c": 0.14402,
"h": 326
},
"luminance": 0.10881
}Semantic roles & 50–950 ramp
primary
#8A3F8D
secondary
#79B177
accent
#CE5A5E
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F