#8F36B2#8F36B2
#8F36B2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.195 H 314.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F36B2 |
|---|---|
| RGB | rgb(143, 54, 178) |
| HSL | hsl(283, 53%, 45%) |
| HSV | hsv(283, 70%, 70%) |
| CMYK | cmyk(19.7%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(40.72, 56.23, -49.25) |
| CIE-LCH | lch(40.72, 74.75, 318.79°) |
| OKLab | oklab(51.37% 0.1374 -0.1387) |
| OKLCH | oklch(51.37% 0.195 314.7) |
| XYZ | xyz(20.6814, 11.6930, 43.2784) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.86
Darkorchid
#9932CC
ΔE00 3.98
Barney
#AC1DB8
ΔE00 5.09
Darkviolet
#9400D3
ΔE00 6.01
Medium Purple
#9E43A2
ΔE00 6.14
Purple (survey)
#7E1E9C
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F36B2 #59B236
analogous
#5136B2 #8F36B2 #B23697
triadic
#8F36B2 #B28F36 #36B28F
tetradic
#8F36B2 #B25136 #59B236 #3697B2
square
#8F36B2 #B25136 #59B236 #3697B2
split-complementary
#8F36B2 #97B236 #36B251
monochromatic
#441A54 #692883 #8F36B2 #AC59CD #C388DB
Accessibility & contrast
On white
6.29
#8F36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8F36B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F36B2
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F36B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F36B2 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#8C4F70
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8f36b2; /* rgb */ color: rgb(143, 54, 178); /* oklch */ color: oklch(51.4% 0.195 314.7);
Tailwind
colors: {
custom: {
50: '#b474ca',
500: '#8f36b2',
950: '#000000',
},
}SCSS
$custom: #8f36b2; $custom-light: #b474ca; $custom-dark: #000000;
JSON
{
"hex": "#8f36b2",
"rgb": {
"r": 143,
"g": 54,
"b": 178
},
"hsl": {
"h": 283.065,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.51369,
"c": 0.19522,
"h": 314.7
},
"luminance": 0.11692
}Semantic roles & 50–950 ramp
primary
#8F36B2
secondary
#93C57F
accent
#DD4B74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82