#8F39B7#8F39B7
#8F39B7 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.196 H 313.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F39B7 |
|---|---|
| RGB | rgb(143, 57, 183) |
| HSL | hsl(281, 53%, 47%) |
| HSV | hsv(281, 69%, 72%) |
| CMYK | cmyk(21.9%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(41.51, 55.99, -50.94) |
| CIE-LCH | lch(41.51, 75.70, 317.71°) |
| OKLab | oklab(52.04% 0.1337 -0.1436) |
| OKLCH | oklch(52.04% 0.196 313) |
| XYZ | xyz(21.3366, 12.1854, 46.0186) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.76
Darkorchid
#9932CC
ΔE00 3.26
Barney
#AC1DB8
ΔE00 5.37
Darkviolet
#9400D3
ΔE00 5.86
Medium Purple
#9E43A2
ΔE00 6.44
Blueviolet
#8A2BE2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F39B7 #61B739
analogous
#5039B7 #8F39B7 #B739A0
triadic
#8F39B7 #B78F39 #39B78F
tetradic
#8F39B7 #B75039 #61B739 #39A0B7
square
#8F39B7 #B75039 #61B739 #39A0B7
split-complementary
#8F39B7 #A0B739 #39B750
monochromatic
#461C5A #6B2A88 #8F39B7 #AB60CD #C38EDC
Accessibility & contrast
On white
6.11
#8F39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#8F39B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F39B7
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F39B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F39B7 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#8B5374
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8f39b7; /* rgb */ color: rgb(143, 57, 183); /* oklch */ color: oklch(52.0% 0.196 313.0);
Tailwind
colors: {
custom: {
50: '#b476cd',
500: '#8f39b7',
950: '#000000',
},
}SCSS
$custom: #8f39b7; $custom-light: #b476cd; $custom-dark: #000000;
JSON
{
"hex": "#8f39b7",
"rgb": {
"r": 143,
"g": 57,
"b": 183
},
"hsl": {
"h": 280.952,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.52035,
"c": 0.19626,
"h": 313
},
"luminance": 0.12185
}Semantic roles & 50–950 ramp
primary
#8F39B7
secondary
#9AC785
accent
#DC4C7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82