#8F2296#8F2296
#8F2296 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.193 H 325.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2296 |
|---|---|
| RGB | rgb(143, 34, 150) |
| HSL | hsl(296, 63%, 36%) |
| HSV | hsv(296, 77%, 59%) |
| CMYK | cmyk(4.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.34, 58.32, -39.47) |
| CIE-LCH | lch(36.34, 70.42, 325.91°) |
| OKLab | oklab(47.68% 0.1592 -0.1099) |
| OKLCH | oklch(47.68% 0.193 325.4) |
| XYZ | xyz(17.4043, 9.1869, 29.7048) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.11
Warm Purple
#952E8F
ΔE00 3.24
Darkmagenta
#8B008B
ΔE00 3.39
Purple (survey)
#7E1E9C
ΔE00 4.22
Purple
#800080
ΔE00 5.42
Barney
#AC1DB8
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2296 #299622
analogous
#552296 #8F2296 #962263
triadic
#8F2296 #968F22 #22968F
tetradic
#8F2296 #965522 #299622 #226396
square
#8F2296 #965522 #299622 #226396
split-complementary
#8F2296 #639622 #229655
monochromatic
#300B32 #5F1764 #8F2296 #BF2DC8 #D259D9
Accessibility & contrast
On white
7.40
#8F2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#8F2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2296
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2296 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#92375B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f2296; /* rgb */ color: rgb(143, 34, 150); /* oklch */ color: oklch(47.7% 0.193 325.4);
Tailwind
colors: {
custom: {
50: '#b36ab5',
500: '#8f2296',
950: '#000000',
},
}SCSS
$custom: #8f2296; $custom-light: #b36ab5; $custom-dark: #000000;
JSON
{
"hex": "#8f2296",
"rgb": {
"r": 143,
"g": 34,
"b": 150
},
"hsl": {
"h": 296.379,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.47678,
"c": 0.19342,
"h": 325.4
},
"luminance": 0.09186
}Semantic roles & 50–950 ramp
primary
#8F2296
secondary
#5CBE56
accent
#E6424C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80