#8F2E9F#8F2E9F
#8F2E9F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.188 H 321.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2E9F |
|---|---|
| RGB | rgb(143, 46, 159) |
| HSL | hsl(292, 55%, 40%) |
| HSV | hsv(292, 71%, 62%) |
| CMYK | cmyk(10.1%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(38.37, 55.73, -41.68) |
| CIE-LCH | lch(38.37, 69.59, 323.21°) |
| OKLab | oklab(49.3% 0.1472 -0.1165) |
| OKLCH | oklch(49.3% 0.188 321.6) |
| XYZ | xyz(18.5620, 10.2978, 33.8041) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.81
Barney Purple
#A00498
ΔE00 4.41
Purple (survey)
#7E1E9C
ΔE00 4.62
Purply
#983FB2
ΔE00 4.78
Darkmagenta
#8B008B
ΔE00 5.60
Barney
#AC1DB8
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2E9F #3E9F2E
analogous
#562E9F #8F2E9F #9F2E77
triadic
#8F2E9F #9F8F2E #2E9F8F
tetradic
#8F2E9F #9F562E #3E9F2E #2E779F
square
#8F2E9F #9F562E #3E9F2E #2E779F
split-complementary
#8F2E9F #779F2E #2E9F56
monochromatic
#3A1340 #642070 #8F2E9F #B542C8 #C871D6
Accessibility & contrast
On white
6.86
#8F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#8F2E9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2E9F
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2E9F | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3C5E9C
Tritanopia (blue-blind)
#904263
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8f2e9f; /* rgb */ color: rgb(143, 46, 159); /* oklch */ color: oklch(49.3% 0.188 321.6);
Tailwind
colors: {
custom: {
50: '#b370bc',
500: '#8f2e9f',
950: '#000000',
},
}SCSS
$custom: #8f2e9f; $custom-light: #b370bc; $custom-dark: #000000;
JSON
{
"hex": "#8f2e9f",
"rgb": {
"r": 143,
"g": 46,
"b": 159
},
"hsl": {
"h": 291.504,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.49303,
"c": 0.18767,
"h": 321.6
},
"luminance": 0.10297
}Semantic roles & 50–950 ramp
primary
#8F2E9F
secondary
#77BE6B
accent
#DE495E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81