#8F2A9C#8F2A9C
#8F2A9C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.190 H 322.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2A9C |
|---|---|
| RGB | rgb(143, 42, 156) |
| HSL | hsl(293, 58%, 39%) |
| HSV | hsv(293, 73%, 61%) |
| CMYK | cmyk(8.3%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(37.66, 56.68, -41.01) |
| CIE-LCH | lch(37.66, 69.96, 324.11°) |
| OKLab | oklab(48.73% 0.1514 -0.1145) |
| OKLCH | oklch(48.73% 0.19 322.9) |
| XYZ | xyz(18.1558, 9.8969, 32.4000) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.49
Barney Purple
#A00498
ΔE00 3.86
Purple (survey)
#7E1E9C
ΔE00 4.33
Darkmagenta
#8B008B
ΔE00 4.82
Purply
#983FB2
ΔE00 5.53
Barney
#AC1DB8
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2A9C #379C2A
analogous
#562A9C #8F2A9C #9C2A70
triadic
#8F2A9C #9C8F2A #2A9C8F
tetradic
#8F2A9C #9C562A #379C2A #2A709C
square
#8F2A9C #9C562A #379C2A #2A709C
split-complementary
#8F2A9C #709C2A #2A9C56
monochromatic
#37103C #631D6C #8F2A9C #B939CA #CA6AD7
Accessibility & contrast
On white
7.05
#8F2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#8F2A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2A9C
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2A9C | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#3C5D99
Tritanopia (blue-blind)
#913F61
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8f2a9c; /* rgb */ color: rgb(143, 42, 156); /* oklch */ color: oklch(48.7% 0.190 322.9);
Tailwind
colors: {
custom: {
50: '#b36eba',
500: '#8f2a9c',
950: '#000000',
},
}SCSS
$custom: #8f2a9c; $custom-light: #b36eba; $custom-dark: #000000;
JSON
{
"hex": "#8f2a9c",
"rgb": {
"r": 143,
"g": 42,
"b": 156
},
"hsl": {
"h": 293.158,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.48733,
"c": 0.18979,
"h": 322.9
},
"luminance": 0.09896
}Semantic roles & 50–950 ramp
primary
#8F2A9C
secondary
#6FBD65
accent
#E14759
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80