#8B36AF#8B36AF
#8B36AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.191 H 314.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8B36AF |
|---|---|
| RGB | rgb(139, 54, 175) |
| HSL | hsl(282, 53%, 45%) |
| HSV | hsv(282, 69%, 69%) |
| CMYK | cmyk(20.6%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(39.95, 54.74, -48.74) |
| CIE-LCH | lch(39.95, 73.29, 318.32°) |
| OKLab | oklab(50.64% 0.1326 -0.1373) |
| OKLCH | oklch(50.64% 0.191 314) |
| XYZ | xyz(19.7032, 11.2231, 41.6775) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.47
Darkorchid
#9932CC
ΔE00 4.60
Purple (survey)
#7E1E9C
ΔE00 5.56
Barney
#AC1DB8
ΔE00 5.76
Darkviolet
#9400D3
ΔE00 6.20
Medium Purple
#9E43A2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B36AF #5AAF36
analogous
#4F36AF #8B36AF #AF3696
triadic
#8B36AF #AF8B36 #36AF8B
tetradic
#8B36AF #AF4F36 #5AAF36 #3696AF
square
#8B36AF #AF4F36 #5AAF36 #3696AF
split-complementary
#8B36AF #96AF36 #36AF4F
monochromatic
#411951 #662880 #8B36AF #A957CB #C186DA
Accessibility & contrast
On white
6.47
#8B36AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#8B36AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B36AF
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B36AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B36AF | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 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)
#884F6E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8b36af; /* rgb */ color: rgb(139, 54, 175); /* oklch */ color: oklch(50.6% 0.191 314.0);
Tailwind
colors: {
custom: {
50: '#b174c7',
500: '#8b36af',
950: '#000000',
},
}SCSS
$custom: #8b36af; $custom-light: #b174c7; $custom-dark: #000000;
JSON
{
"hex": "#8b36af",
"rgb": {
"r": 139,
"g": 54,
"b": 175
},
"hsl": {
"h": 282.149,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.50637,
"c": 0.19086,
"h": 314
},
"luminance": 0.11222
}Semantic roles & 50–950 ramp
primary
#8B36AF
secondary
#92C37D
accent
#DC4C77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82