#8A37A5#8A37A5
#8A37A5 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.179 H 316.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37A5 |
|---|---|
| RGB | rgb(138, 55, 165) |
| HSL | hsl(285, 50%, 43%) |
| HSV | hsv(285, 67%, 65%) |
| CMYK | cmyk(16.4%, 66.7%, 0%, 35.3%) |
| CIE-LAB | lab(39.33, 51.99, -43.79) |
| CIE-LCH | lch(39.33, 67.97, 319.89°) |
| OKLab | oklab(49.96% 0.1308 -0.1228) |
| OKLCH | oklch(49.96% 0.179 316.8) |
| XYZ | xyz(18.6379, 10.8530, 36.7031) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.74
Purple (survey)
#7E1E9C
ΔE00 5.15
Warm Purple
#952E8F
ΔE00 5.47
Medium Purple
#9E43A2
ΔE00 5.73
Barney
#AC1DB8
ΔE00 6.08
Darkorchid
#9932CC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37A5 #52A537
analogous
#5337A5 #8A37A5 #A53789
triadic
#8A37A5 #A58A37 #37A58A
tetradic
#8A37A5 #A55337 #52A537 #3789A5
square
#8A37A5 #A55337 #52A537 #3789A5
split-complementary
#8A37A5 #89A537 #37A553
monochromatic
#3D1849 #642877 #8A37A5 #AA53C6 #C181D5
Accessibility & contrast
On white
6.62
#8A37A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#8A37A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37A5
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37A5 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0658A8
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#894B69
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a37a5; /* rgb */ color: rgb(138, 55, 165); /* oklch */ color: oklch(50.0% 0.179 316.8);
Tailwind
colors: {
custom: {
50: '#af74c0',
500: '#8a37a5',
950: '#000000',
},
}SCSS
$custom: #8a37a5; $custom-light: #af74c0; $custom-dark: #000000;
JSON
{
"hex": "#8a37a5",
"rgb": {
"r": 138,
"g": 55,
"b": 165
},
"hsl": {
"h": 285.273,
"s": 50,
"l": 43.137
},
"oklch": {
"l": 0.49957,
"c": 0.17942,
"h": 316.8
},
"luminance": 0.10852
}Semantic roles & 50–950 ramp
primary
#8A37A5
secondary
#8ABF79
accent
#DA4E70
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81