#8A37AF#8A37AF
#8A37AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.189 H 313.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A37AF |
|---|---|
| RGB | rgb(138, 55, 175) |
| HSL | hsl(282, 52%, 45%) |
| HSV | hsv(282, 69%, 69%) |
| CMYK | cmyk(21.1%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(39.97, 54.08, -48.73) |
| CIE-LCH | lch(39.97, 72.79, 317.98°) |
| OKLab | oklab(50.62% 0.1302 -0.1373) |
| OKLCH | oklch(50.62% 0.189 313.5) |
| XYZ | xyz(19.5839, 11.2314, 41.6854) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.52
Darkorchid
#9932CC
ΔE00 4.64
Purple (survey)
#7E1E9C
ΔE00 5.62
Barney
#AC1DB8
ΔE00 5.96
Darkviolet
#9400D3
ΔE00 6.29
Medium Purple
#9E43A2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A37AF #5CAF37
analogous
#4E37AF #8A37AF #AF3798
triadic
#8A37AF #AF8A37 #37AF8A
tetradic
#8A37AF #AF4E37 #5CAF37 #3798AF
square
#8A37AF #AF4E37 #5CAF37 #3798AF
split-complementary
#8A37AF #98AF37 #37AF4E
monochromatic
#411A52 #652880 #8A37AF #A759CB #C087D9
Accessibility & contrast
On white
6.47
#8A37AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#8A37AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A37AF
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A37AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A37AF | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#864F6F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a37af; /* rgb */ color: rgb(138, 55, 175); /* oklch */ color: oklch(50.6% 0.189 313.5);
Tailwind
colors: {
custom: {
50: '#b074c7',
500: '#8a37af',
950: '#000000',
},
}SCSS
$custom: #8a37af; $custom-light: #b074c7; $custom-dark: #000000;
JSON
{
"hex": "#8a37af",
"rgb": {
"r": 138,
"g": 55,
"b": 175
},
"hsl": {
"h": 281.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.50617,
"c": 0.18921,
"h": 313.5
},
"luminance": 0.11231
}Semantic roles & 50–950 ramp
primary
#8A37AF
secondary
#94C37F
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82