#931878#931878
#931878 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.183 H 339.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #931878 |
|---|---|
| RGB | rgb(147, 24, 120) |
| HSL | hsl(313, 72%, 34%) |
| HSV | hsv(313, 84%, 58%) |
| CMYK | cmyk(0%, 83.7%, 18.4%, 42.4%) |
| CIE-LAB | lab(34.42, 57.28, -23.88) |
| CIE-LCH | lch(34.42, 62.06, 337.37°) |
| OKLab | oklab(45.91% 0.1708 -0.0647) |
| OKLCH | oklch(45.91% 0.183 339.2) |
| XYZ | xyz(15.7499, 8.2140, 18.5217) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.84
Warm Purple
#952E8F
ΔE00 5.04
Darkmagenta
#8B008B
ΔE00 5.60
Barney Purple
#A00498
ΔE00 5.84
Purple
#800080
ΔE00 6.13
Darkish Purple
#751973
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931878 #189333
analogous
#701893 #931878 #93183A
triadic
#931878 #789318 #187893
tetradic
#931878 #937018 #189333 #183A93
square
#931878 #937018 #189333 #183A93
split-complementary
#931878 #3A9318 #189370
monochromatic
#2A0722 #5E0F4D #931878 #C821A3 #E145BE
Accessibility & contrast
On white
7.95
#931878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#931878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931878
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931878 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#4C5875
Tritanopia (blue-blind)
#9C1F48
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #931878; /* rgb */ color: rgb(147, 24, 120); /* oklch */ color: oklch(45.9% 0.183 339.2);
Tailwind
colors: {
custom: {
50: '#b7669f',
500: '#931878',
950: '#000000',
},
}SCSS
$custom: #931878; $custom-light: #b7669f; $custom-dark: #000000;
JSON
{
"hex": "#931878",
"rgb": {
"r": 147,
"g": 24,
"b": 120
},
"hsl": {
"h": 313.171,
"s": 71.93,
"l": 33.529
},
"oklch": {
"l": 0.45906,
"c": 0.18265,
"h": 339.2
},
"luminance": 0.08212
}Semantic roles & 50–950 ramp
primary
#931878
secondary
#45C260
accent
#EF6139
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E