#8F39B2#8F39B2
#8F39B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.191 H 314.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8F39B2 |
|---|---|
| RGB | rgb(143, 57, 178) |
| HSL | hsl(283, 51%, 46%) |
| HSV | hsv(283, 68%, 70%) |
| CMYK | cmyk(19.7%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(41.19, 54.94, -48.51) |
| CIE-LCH | lch(41.19, 73.29, 318.56°) |
| OKLab | oklab(51.7% 0.1341 -0.1365) |
| OKLCH | oklch(51.7% 0.191 314.5) |
| XYZ | xyz(20.8254, 11.9809, 43.3264) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.45
Darkorchid
#9932CC
ΔE00 3.98
Barney
#AC1DB8
ΔE00 5.22
Medium Purple
#9E43A2
ΔE00 5.85
Darkviolet
#9400D3
ΔE00 6.38
Purple (survey)
#7E1E9C
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F39B2 #5CB239
analogous
#5339B2 #8F39B2 #B23998
triadic
#8F39B2 #B28F39 #39B28F
tetradic
#8F39B2 #B25339 #5CB239 #3998B2
square
#8F39B2 #B25339 #5CB239 #3998B2
split-complementary
#8F39B2 #98B239 #39B253
monochromatic
#451B55 #6A2A84 #8F39B2 #AB5DCB #C38BDA
Accessibility & contrast
On white
6.18
#8F39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8F39B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F39B2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F39B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F39B2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#8C5171
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f39b2; /* rgb */ color: rgb(143, 57, 178); /* oklch */ color: oklch(51.7% 0.191 314.5);
Tailwind
colors: {
custom: {
50: '#b376ca',
500: '#8f39b2',
950: '#000000',
},
}SCSS
$custom: #8f39b2; $custom-light: #b376ca; $custom-dark: #000000;
JSON
{
"hex": "#8f39b2",
"rgb": {
"r": 143,
"g": 57,
"b": 178
},
"hsl": {
"h": 282.645,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.517,
"c": 0.19139,
"h": 314.5
},
"luminance": 0.1198
}Semantic roles & 50–950 ramp
primary
#8F39B2
secondary
#95C482
accent
#DB4D76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82