#8F3274#8F3274
#8F3274 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.147 H 340.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3274 |
|---|---|
| RGB | rgb(143, 50, 116) |
| HSL | hsl(317, 48%, 38%) |
| HSV | hsv(317, 65%, 56%) |
| CMYK | cmyk(0%, 65%, 18.9%, 43.9%) |
| CIE-LAB | lab(36.71, 46.67, -17.87) |
| CIE-LCH | lch(36.71, 49.98, 339.05°) |
| OKLab | oklab(47.37% 0.1389 -0.048) |
| OKLCH | oklch(47.37% 0.147 340.9) |
| XYZ | xyz(15.6211, 9.3832, 17.5080) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.60
Light Eggplant
#894585
ΔE00 5.44
Red Violet
#9E0168
ΔE00 5.60
Warm Purple
#952E8F
ΔE00 5.84
Grape
#6C3461
ΔE00 7.37
Deep Magenta
#A0025C
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3274 #328F4D
analogous
#7B328F #8F3274 #8F3246
triadic
#8F3274 #748F32 #32748F
tetradic
#8F3274 #8F7B32 #328F4D #32468F
square
#8F3274 #8F7B32 #328F4D #32468F
split-complementary
#8F3274 #468F32 #328F7B
monochromatic
#34122A #62224F #8F3274 #BC4299 #CD6FB1
Accessibility & contrast
On white
7.30
#8F3274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#8F3274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F3274
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3274 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#97344E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8f3274; /* rgb */ color: rgb(143, 50, 116); /* oklch */ color: oklch(47.4% 0.147 340.9);
Tailwind
colors: {
custom: {
50: '#b3709c',
500: '#8f3274',
950: '#000000',
},
}SCSS
$custom: #8f3274; $custom-light: #b3709c; $custom-dark: #000000;
JSON
{
"hex": "#8f3274",
"rgb": {
"r": 143,
"g": 50,
"b": 116
},
"hsl": {
"h": 317.419,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.4737,
"c": 0.147,
"h": 340.9
},
"luminance": 0.09382
}Semantic roles & 50–950 ramp
primary
#8F3274
secondary
#68B47E
accent
#D87750
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E