#8A39AF#8A39AF
#8A39AF is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.187 H 313.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A39AF |
|---|---|
| RGB | rgb(138, 57, 175) |
| HSL | hsl(281, 51%, 45%) |
| HSV | hsv(281, 67%, 69%) |
| CMYK | cmyk(21.1%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(40.29, 53.19, -48.21) |
| CIE-LCH | lch(40.29, 71.79, 317.81°) |
| OKLab | oklab(50.85% 0.1279 -0.1358) |
| OKLCH | oklch(50.85% 0.187 313.3) |
| XYZ | xyz(19.6809, 11.4253, 41.7177) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.29
Darkorchid
#9932CC
ΔE00 4.63
Purple (survey)
#7E1E9C
ΔE00 5.94
Barney
#AC1DB8
ΔE00 6.03
Medium Purple
#9E43A2
ΔE00 6.40
Darkviolet
#9400D3
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A39AF #5EAF39
analogous
#4F39AF #8A39AF #AF3999
triadic
#8A39AF #AF8A39 #39AF8A
tetradic
#8A39AF #AF4F39 #5EAF39 #3999AF
square
#8A39AF #AF4F39 #5EAF39 #3999AF
split-complementary
#8A39AF #99AF39 #39AF4F
monochromatic
#411B53 #662A81 #8A39AF #A75BCA #C08AD9
Accessibility & contrast
On white
6.39
#8A39AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8A39AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A39AF
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A39AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A39AF | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#86516F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a39af; /* rgb */ color: rgb(138, 57, 175); /* oklch */ color: oklch(50.8% 0.187 313.3);
Tailwind
colors: {
custom: {
50: '#b075c7',
500: '#8a39af',
950: '#000000',
},
}SCSS
$custom: #8a39af; $custom-light: #b075c7; $custom-dark: #000000;
JSON
{
"hex": "#8a39af",
"rgb": {
"r": 138,
"g": 57,
"b": 175
},
"hsl": {
"h": 281.186,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.50847,
"c": 0.18658,
"h": 313.3
},
"luminance": 0.11425
}Semantic roles & 50–950 ramp
primary
#8A39AF
secondary
#96C381
accent
#DA4D7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82