#931B7F#931B7F
#931B7F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.5% C 0.185 H 336.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #931B7F |
|---|---|
| RGB | rgb(147, 27, 127) |
| HSL | hsl(310, 69%, 34%) |
| HSV | hsv(310, 82%, 58%) |
| CMYK | cmyk(0%, 81.6%, 13.6%, 42.4%) |
| CIE-LAB | lab(35.04, 57.52, -27.29) |
| CIE-LCH | lch(35.04, 63.67, 334.61°) |
| OKLab | oklab(46.47% 0.1691 -0.0745) |
| OKLCH | oklch(46.47% 0.185 336.2) |
| XYZ | xyz(16.2556, 8.5208, 20.8631) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.76
Darkmagenta
#8B008B
ΔE00 4.53
Barney Purple
#A00498
ΔE00 4.57
Purple
#800080
ΔE00 5.48
Darkish Purple
#751973
ΔE00 6.01
Red Violet
#9E0168
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931B7F #1B932F
analogous
#6B1B93 #931B7F #931B43
triadic
#931B7F #7F931B #1B7F93
tetradic
#931B7F #936B1B #1B932F #1B4393
square
#931B7F #936B1B #1B932F #1B4393
split-complementary
#931B7F #43931B #1B936B
monochromatic
#2C0826 #5F1252 #931B7F #C724AC #DE4BC5
Accessibility & contrast
On white
7.77
#931B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#931B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931B7F
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931B7F | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#9B254D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #931b7f; /* rgb */ color: rgb(147, 27, 127); /* oklch */ color: oklch(46.5% 0.185 336.2);
Tailwind
colors: {
custom: {
50: '#b767a4',
500: '#931b7f',
950: '#000000',
},
}SCSS
$custom: #931b7f; $custom-light: #b767a4; $custom-dark: #000000;
JSON
{
"hex": "#931b7f",
"rgb": {
"r": 147,
"g": 27,
"b": 127
},
"hsl": {
"h": 310,
"s": 68.966,
"l": 34.118
},
"oklch": {
"l": 0.46466,
"c": 0.18479,
"h": 336.2
},
"luminance": 0.08519
}Semantic roles & 50–950 ramp
primary
#931B7F
secondary
#4AC05E
accent
#EC593C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F