#8F327D#8F327D
#8F327D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.154 H 336.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8F327D |
|---|---|
| RGB | rgb(143, 50, 125) |
| HSL | hsl(312, 48%, 38%) |
| HSV | hsv(312, 65%, 56%) |
| CMYK | cmyk(0%, 65%, 12.6%, 43.9%) |
| CIE-LAB | lab(37.12, 48.09, -22.86) |
| CIE-LCH | lch(37.12, 53.24, 334.58°) |
| OKLab | oklab(47.8% 0.1406 -0.0621) |
| OKLCH | oklch(47.8% 0.154 336.2) |
| XYZ | xyz(16.1702, 9.6028, 20.3999) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.74
Light Eggplant
#894585
ΔE00 4.41
Bruise
#7E4071
ΔE00 5.15
Barney Purple
#A00498
ΔE00 6.61
Red Violet
#9E0168
ΔE00 6.84
Darkmagenta
#8B008B
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F327D #328F44
analogous
#72328F #8F327D #8F324E
triadic
#8F327D #7D8F32 #327D8F
tetradic
#8F327D #8F7232 #328F44 #324E8F
square
#8F327D #8F7232 #328F44 #324E8F
split-complementary
#8F327D #4E8F32 #328F72
monochromatic
#34122E #622255 #8F327D #BC42A5 #CD6FBA
Accessibility & contrast
On white
7.19
#8F327D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#8F327D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F327D
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F327D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F327D | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#515C7B
Tritanopia (blue-blind)
#963753
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f327d; /* rgb */ color: rgb(143, 50, 125); /* oklch */ color: oklch(47.8% 0.154 336.2);
Tailwind
colors: {
custom: {
50: '#b371a3',
500: '#8f327d',
950: '#000000',
},
}SCSS
$custom: #8f327d; $custom-light: #b371a3; $custom-dark: #000000;
JSON
{
"hex": "#8f327d",
"rgb": {
"r": 143,
"g": 50,
"b": 125
},
"hsl": {
"h": 311.613,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.47802,
"c": 0.15369,
"h": 336.2
},
"luminance": 0.09602
}Semantic roles & 50–950 ramp
primary
#8F327D
secondary
#68B477
accent
#D86A50
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F