#8F279A#8F279A
#8F279A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 323.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8F279A |
|---|---|
| RGB | rgb(143, 39, 154) |
| HSL | hsl(294, 60%, 38%) |
| HSV | hsv(294, 75%, 60%) |
| CMYK | cmyk(7.1%, 74.7%, 0%, 39.6%) |
| CIE-LAB | lab(37.16, 57.38, -40.59) |
| CIE-LCH | lch(37.16, 70.29, 324.72°) |
| OKLab | oklab(48.34% 0.1544 -0.1132) |
| OKLCH | oklch(48.34% 0.191 323.7) |
| XYZ | xyz(17.8854, 9.6249, 31.4813) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Barney Purple
#A00498
ΔE00 3.53
Purple (survey)
#7E1E9C
ΔE00 4.19
Darkmagenta
#8B008B
ΔE00 4.28
Purply
#983FB2
ΔE00 6.05
Barney
#AC1DB8
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F279A #329A27
analogous
#56279A #8F279A #9A276B
triadic
#8F279A #9A8F27 #279A8F
tetradic
#8F279A #9A5627 #329A27 #276B9A
square
#8F279A #9A5627 #329A27 #276B9A
split-complementary
#8F279A #6B9A27 #279A56
monochromatic
#340E38 #621B69 #8F279A #BC33CB #CD64D8
Accessibility & contrast
On white
7.18
#8F279A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#8F279A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F279A
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F279A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F279A | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#3C5C97
Tritanopia (blue-blind)
#923C5F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f279a; /* rgb */ color: rgb(143, 39, 154); /* oklch */ color: oklch(48.3% 0.191 323.7);
Tailwind
colors: {
custom: {
50: '#b36cb8',
500: '#8f279a',
950: '#000000',
},
}SCSS
$custom: #8f279a; $custom-light: #b36cb8; $custom-dark: #000000;
JSON
{
"hex": "#8f279a",
"rgb": {
"r": 143,
"g": 39,
"b": 154
},
"hsl": {
"h": 294.261,
"s": 59.585,
"l": 37.843
},
"oklch": {
"l": 0.4834,
"c": 0.19146,
"h": 323.7
},
"luminance": 0.09624
}Semantic roles & 50–950 ramp
primary
#8F279A
secondary
#68BD5F
accent
#E34554
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80