#8F2C9D#8F2C9D
#8F2C9D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 322.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2C9D |
|---|---|
| RGB | rgb(143, 44, 157) |
| HSL | hsl(293, 56%, 39%) |
| HSV | hsv(293, 72%, 62%) |
| CMYK | cmyk(8.9%, 72%, 0%, 38.4%) |
| CIE-LAB | lab(37.98, 56.12, -41.10) |
| CIE-LCH | lch(37.98, 69.56, 323.78°) |
| OKLab | oklab(48.98% 0.1493 -0.1147) |
| OKLCH | oklch(48.98% 0.188 322.5) |
| XYZ | xyz(18.3136, 10.0764, 32.8721) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.55
Barney Purple
#A00498
ΔE00 4.08
Purple (survey)
#7E1E9C
ΔE00 4.48
Darkmagenta
#8B008B
ΔE00 5.16
Purply
#983FB2
ΔE00 5.21
Barney
#AC1DB8
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2C9D #3A9D2C
analogous
#562C9D #8F2C9D #9D2C73
triadic
#8F2C9D #9D8F2C #2C9D8F
tetradic
#8F2C9D #9D562C #3A9D2C #2C739D
square
#8F2C9D #9D562C #3A9D2C #2C739D
split-complementary
#8F2C9D #739D2C #2C9D56
monochromatic
#38113D #631F6D #8F2C9D #B73DC9 #C96DD6
Accessibility & contrast
On white
6.97
#8F2C9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#8F2C9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2C9D
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2C9D | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#914062
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8f2c9d; /* rgb */ color: rgb(143, 44, 157); /* oklch */ color: oklch(49.0% 0.188 322.5);
Tailwind
colors: {
custom: {
50: '#b36fba',
500: '#8f2c9d',
950: '#000000',
},
}SCSS
$custom: #8f2c9d; $custom-light: #b36fba; $custom-dark: #000000;
JSON
{
"hex": "#8f2c9d",
"rgb": {
"r": 143,
"g": 44,
"b": 157
},
"hsl": {
"h": 292.566,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.48983,
"c": 0.18832,
"h": 322.5
},
"luminance": 0.10075
}Semantic roles & 50–950 ramp
primary
#8F2C9D
secondary
#72BD68
accent
#E0485B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81