#8F39BA#8F39BA
#8F39BA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.199 H 312.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8F39BA |
|---|---|
| RGB | rgb(143, 57, 186) |
| HSL | hsl(280, 53%, 48%) |
| HSV | hsv(280, 69%, 73%) |
| CMYK | cmyk(23.1%, 69.4%, 0%, 27.1%) |
| CIE-LAB | lab(41.71, 56.63, -52.38) |
| CIE-LCH | lch(41.71, 77.14, 317.23°) |
| OKLab | oklab(52.24% 0.1335 -0.1479) |
| OKLCH | oklch(52.24% 0.199 312.1) |
| XYZ | xyz(21.6521, 12.3116, 47.6806) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.87
Purply
#983FB2
ΔE00 3.03
Barney
#AC1DB8
ΔE00 5.51
Darkviolet
#9400D3
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 6.06
Vibrant Purple
#AD03DE
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F39BA #64BA39
analogous
#4F39BA #8F39BA #BA39A4
triadic
#8F39BA #BA8F39 #39BA8F
tetradic
#8F39BA #BA4F39 #64BA39 #39A4BA
square
#8F39BA #BA4F39 #64BA39 #39A4BA
split-complementary
#8F39BA #A4BA39 #39BA4F
monochromatic
#471C5C #6B2B8B #8F39BA #AA61CF #C390DD
Accessibility & contrast
On white
6.07
#8F39BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8F39BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F39BA
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F39BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F39BA | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#8A5475
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8f39ba; /* rgb */ color: rgb(143, 57, 186); /* oklch */ color: oklch(52.2% 0.199 312.1);
Tailwind
colors: {
custom: {
50: '#b476cf',
500: '#8f39ba',
950: '#000000',
},
}SCSS
$custom: #8f39ba; $custom-light: #b476cf; $custom-dark: #000000;
JSON
{
"hex": "#8f39ba",
"rgb": {
"r": 143,
"g": 57,
"b": 186
},
"hsl": {
"h": 280,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.52239,
"c": 0.19919,
"h": 312.1
},
"luminance": 0.12311
}Semantic roles & 50–950 ramp
primary
#8F39BA
secondary
#9DC887
accent
#DC4B7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82