#8F39B3#8F39B3
#8F39B3 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.192 H 314.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8F39B3 |
|---|---|
| RGB | rgb(143, 57, 179) |
| HSL | hsl(282, 52%, 46%) |
| HSV | hsv(282, 68%, 70%) |
| CMYK | cmyk(20.1%, 68.2%, 0%, 29.8%) |
| CIE-LAB | lab(41.25, 55.15, -49.00) |
| CIE-LCH | lch(41.25, 73.77, 318.38°) |
| OKLab | oklab(51.77% 0.1341 -0.1379) |
| OKLCH | oklch(51.77% 0.192 314.2) |
| XYZ | xyz(20.9261, 12.0212, 43.8571) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.50
Darkorchid
#9932CC
ΔE00 3.83
Barney
#AC1DB8
ΔE00 5.24
Medium Purple
#9E43A2
ΔE00 5.97
Darkviolet
#9400D3
ΔE00 6.27
Purple (survey)
#7E1E9C
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F39B3 #5DB339
analogous
#5239B3 #8F39B3 #B3399A
triadic
#8F39B3 #B38F39 #39B38F
tetradic
#8F39B3 #B35239 #5DB339 #399AB3
square
#8F39B3 #B35239 #5DB339 #399AB3
split-complementary
#8F39B3 #9AB339 #39B352
monochromatic
#451B56 #6A2A85 #8F39B3 #AB5ECC #C38CDA
Accessibility & contrast
On white
6.17
#8F39B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8F39B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F39B3
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F39B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F39B3 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#8C5171
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f39b3; /* rgb */ color: rgb(143, 57, 179); /* oklch */ color: oklch(51.8% 0.192 314.2);
Tailwind
colors: {
custom: {
50: '#b376ca',
500: '#8f39b3',
950: '#000000',
},
}SCSS
$custom: #8f39b3; $custom-light: #b376ca; $custom-dark: #000000;
JSON
{
"hex": "#8f39b3",
"rgb": {
"r": 143,
"g": 57,
"b": 179
},
"hsl": {
"h": 282.295,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.51766,
"c": 0.19236,
"h": 314.2
},
"luminance": 0.12021
}Semantic roles & 50–950 ramp
primary
#8F39B3
secondary
#96C583
accent
#DB4D77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82