#941A7C#941A7C
#941A7C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.184 H 337.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #941A7C |
|---|---|
| RGB | rgb(148, 26, 124) |
| HSL | hsl(312, 70%, 34%) |
| HSV | hsv(312, 82%, 58%) |
| CMYK | cmyk(0%, 82.4%, 16.2%, 42%) |
| CIE-LAB | lab(34.99, 57.57, -25.50) |
| CIE-LCH | lch(34.99, 62.97, 336.11°) |
| OKLab | oklab(46.41% 0.1706 -0.0693) |
| OKLCH | oklch(46.41% 0.184 337.9) |
| XYZ | xyz(16.2206, 8.4915, 19.8496) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.29
Barney Purple
#A00498
ΔE00 5.12
Darkmagenta
#8B008B
ΔE00 5.15
Red Violet
#9E0168
ΔE00 5.45
Purple
#800080
ΔE00 5.94
Darkish Purple
#751973
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941A7C #1A9432
analogous
#6F1A94 #941A7C #941A3F
triadic
#941A7C #7C941A #1A7C94
tetradic
#941A7C #946F1A #1A9432 #1A3F94
square
#941A7C #946F1A #1A9432 #1A3F94
split-complementary
#941A7C #3F941A #1A946F
monochromatic
#2C0825 #601150 #941A7C #C823A8 #DF49C2
Accessibility & contrast
On white
7.78
#941A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#941A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941A7C
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941A7C | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#4C5979
Tritanopia (blue-blind)
#9D224B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #941a7c; /* rgb */ color: rgb(148, 26, 124); /* oklch */ color: oklch(46.4% 0.184 337.9);
Tailwind
colors: {
custom: {
50: '#b767a2',
500: '#941a7c',
950: '#000000',
},
}SCSS
$custom: #941a7c; $custom-light: #b767a2; $custom-dark: #000000;
JSON
{
"hex": "#941a7c",
"rgb": {
"r": 148,
"g": 26,
"b": 124
},
"hsl": {
"h": 311.803,
"s": 70.115,
"l": 34.118
},
"oklch": {
"l": 0.46409,
"c": 0.18417,
"h": 337.9
},
"luminance": 0.0849
}Semantic roles & 50–950 ramp
primary
#941A7C
secondary
#49C161
accent
#ED5E3B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F