#931A7C#931A7C
#931A7C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.184 H 337.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #931A7C |
|---|---|
| RGB | rgb(147, 26, 124) |
| HSL | hsl(311, 70%, 34%) |
| HSV | hsv(311, 82%, 58%) |
| CMYK | cmyk(0%, 82.3%, 15.6%, 42.4%) |
| CIE-LAB | lab(34.80, 57.35, -25.80) |
| CIE-LCH | lch(34.80, 62.88, 335.78°) |
| OKLab | oklab(46.24% 0.1697 -0.0702) |
| OKLCH | oklch(46.24% 0.184 337.5) |
| XYZ | xyz(16.0405, 8.3986, 19.8412) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.28
Darkmagenta
#8B008B
ΔE00 4.98
Barney Purple
#A00498
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.60
Purple
#800080
ΔE00 5.73
Darkish Purple
#751973
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931A7C #1A9331
analogous
#6E1A93 #931A7C #931A40
triadic
#931A7C #7C931A #1A7C93
tetradic
#931A7C #936E1A #1A9331 #1A4093
square
#931A7C #936E1A #1A9331 #1A4093
split-complementary
#931A7C #40931A #1A936E
monochromatic
#2B0824 #5F1150 #931A7C #C723A8 #DF49C2
Accessibility & contrast
On white
7.84
#931A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#931A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931A7C
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931A7C | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#9B234B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #931a7c; /* rgb */ color: rgb(147, 26, 124); /* oklch */ color: oklch(46.2% 0.184 337.5);
Tailwind
colors: {
custom: {
50: '#b767a2',
500: '#931a7c',
950: '#000000',
},
}SCSS
$custom: #931a7c; $custom-light: #b767a2; $custom-dark: #000000;
JSON
{
"hex": "#931a7c",
"rgb": {
"r": 147,
"g": 26,
"b": 124
},
"hsl": {
"h": 311.405,
"s": 69.942,
"l": 33.922
},
"oklch": {
"l": 0.4624,
"c": 0.18362,
"h": 337.5
},
"luminance": 0.08397
}Semantic roles & 50–950 ramp
primary
#931A7C
secondary
#48C05F
accent
#ED5D3B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F