#8A36AF#8A36AF
#8A36AF is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.191 H 313.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A36AF |
|---|---|
| RGB | rgb(138, 54, 175) |
| HSL | hsl(282, 53%, 45%) |
| HSV | hsv(282, 69%, 69%) |
| CMYK | cmyk(21.1%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(39.81, 54.52, -48.98) |
| CIE-LCH | lch(39.81, 73.29, 318.06°) |
| OKLab | oklab(50.51% 0.1313 -0.138) |
| OKLCH | oklch(50.51% 0.191 313.6) |
| XYZ | xyz(19.5369, 11.1374, 41.6697) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.65
Darkorchid
#9932CC
ΔE00 4.66
Purple (survey)
#7E1E9C
ΔE00 5.47
Barney
#AC1DB8
ΔE00 5.94
Darkviolet
#9400D3
ΔE00 6.18
Medium Purple
#9E43A2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A36AF #5BAF36
analogous
#4E36AF #8A36AF #AF3697
triadic
#8A36AF #AF8A36 #36AF8A
tetradic
#8A36AF #AF4E36 #5BAF36 #3697AF
square
#8A36AF #AF4E36 #5BAF36 #3697AF
split-complementary
#8A36AF #97AF36 #36AF4E
monochromatic
#401951 #652880 #8A36AF #A857CB #C086DA
Accessibility & contrast
On white
6.51
#8A36AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8A36AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A36AF
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A36AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A36AF | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#864F6E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a36af; /* rgb */ color: rgb(138, 54, 175); /* oklch */ color: oklch(50.5% 0.191 313.6);
Tailwind
colors: {
custom: {
50: '#b074c7',
500: '#8a36af',
950: '#000000',
},
}SCSS
$custom: #8a36af; $custom-light: #b074c7; $custom-dark: #000000;
JSON
{
"hex": "#8a36af",
"rgb": {
"r": 138,
"g": 54,
"b": 175
},
"hsl": {
"h": 281.653,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.50505,
"c": 0.1905,
"h": 313.6
},
"luminance": 0.11137
}Semantic roles & 50–950 ramp
primary
#8A36AF
secondary
#93C37D
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82