#8A39A5#8A39A5
#8A39A5 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.177 H 316.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A39A5 |
|---|---|
| RGB | rgb(138, 57, 165) |
| HSL | hsl(285, 49%, 44%) |
| HSV | hsv(285, 65%, 65%) |
| CMYK | cmyk(16.4%, 65.5%, 0%, 35.3%) |
| CIE-LAB | lab(39.66, 51.08, -43.27) |
| CIE-LCH | lch(39.66, 66.94, 319.73°) |
| OKLab | oklab(50.19% 0.1284 -0.1213) |
| OKLCH | oklch(50.19% 0.177 316.6) |
| XYZ | xyz(18.7349, 11.0469, 36.7354) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.52
Medium Purple
#9E43A2
ΔE00 5.50
Purple (survey)
#7E1E9C
ΔE00 5.50
Warm Purple
#952E8F
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A39A5 #54A539
analogous
#5439A5 #8A39A5 #A5398A
triadic
#8A39A5 #A58A39 #39A58A
tetradic
#8A39A5 #A55439 #54A539 #398AA5
square
#8A39A5 #A55439 #54A539 #398AA5
split-complementary
#8A39A5 #8AA539 #39A554
monochromatic
#3E1A4A #642978 #8A39A5 #A956C5 #C084D4
Accessibility & contrast
On white
6.54
#8A39A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8A39A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A39A5
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A39A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A39A5 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#894D6A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a39a5; /* rgb */ color: rgb(138, 57, 165); /* oklch */ color: oklch(50.2% 0.177 316.6);
Tailwind
colors: {
custom: {
50: '#af75c0',
500: '#8a39a5',
950: '#000000',
},
}SCSS
$custom: #8a39a5; $custom-light: #af75c0; $custom-dark: #000000;
JSON
{
"hex": "#8a39a5",
"rgb": {
"r": 138,
"g": 57,
"b": 165
},
"hsl": {
"h": 285,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.50193,
"c": 0.17666,
"h": 316.6
},
"luminance": 0.11046
}Semantic roles & 50–950 ramp
primary
#8A39A5
secondary
#8CBE7B
accent
#D85072
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81