#941C7F#941C7F
#941C7F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.184 H 336.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #941C7F |
|---|---|
| RGB | rgb(148, 28, 127) |
| HSL | hsl(311, 68%, 35%) |
| HSV | hsv(311, 81%, 58%) |
| CMYK | cmyk(0%, 81.1%, 14.2%, 42%) |
| CIE-LAB | lab(35.32, 57.48, -26.85) |
| CIE-LCH | lch(35.32, 63.44, 334.96°) |
| OKLab | oklab(46.7% 0.1693 -0.0732) |
| OKLCH | oklch(46.7% 0.184 336.6) |
| XYZ | xyz(16.4591, 8.6603, 20.8793) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.71
Barney Purple
#A00498
ΔE00 4.60
Darkmagenta
#8B008B
ΔE00 4.79
Purple
#800080
ΔE00 5.76
Red Violet
#9E0168
ΔE00 6.02
Darkish Purple
#751973
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941C7F #1C9431
analogous
#6D1C94 #941C7F #941C43
triadic
#941C7F #7F941C #1C7F94
tetradic
#941C7F #946D1C #1C9431 #1C4394
square
#941C7F #946D1C #1C9431 #1C4394
split-complementary
#941C7F #43941C #1C946D
monochromatic
#2D0927 #611253 #941C7F #C726AB #DD4DC4
Accessibility & contrast
On white
7.69
#941C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#941C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941C7F
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941C7F | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4882
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#9C254D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #941c7f; /* rgb */ color: rgb(148, 28, 127); /* oklch */ color: oklch(46.7% 0.184 336.6);
Tailwind
colors: {
custom: {
50: '#b768a4',
500: '#941c7f',
950: '#000000',
},
}SCSS
$custom: #941c7f; $custom-light: #b768a4; $custom-dark: #000000;
JSON
{
"hex": "#941c7f",
"rgb": {
"r": 148,
"g": 28,
"b": 127
},
"hsl": {
"h": 310.5,
"s": 68.182,
"l": 34.51
},
"oklch": {
"l": 0.46699,
"c": 0.18443,
"h": 336.6
},
"luminance": 0.08659
}Semantic roles & 50–950 ramp
primary
#941C7F
secondary
#4CC060
accent
#EB5B3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F