#941F7C#941F7C
#941F7C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.180 H 338.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #941F7C |
|---|---|
| RGB | rgb(148, 31, 124) |
| HSL | hsl(312, 65%, 35%) |
| HSV | hsv(312, 79%, 58%) |
| CMYK | cmyk(0%, 79.1%, 16.2%, 42%) |
| CIE-LAB | lab(35.46, 56.20, -24.75) |
| CIE-LCH | lch(35.46, 61.40, 336.23°) |
| OKLab | oklab(46.75% 0.1665 -0.0672) |
| OKLCH | oklch(46.75% 0.18 338) |
| XYZ | xyz(16.3412, 8.7327, 19.8898) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.09
Barney Purple
#A00498
ΔE00 5.29
Red Violet
#9E0168
ΔE00 5.42
Darkmagenta
#8B008B
ΔE00 5.55
Purple
#800080
ΔE00 6.36
Darkish Purple
#751973
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F7C #1F9437
analogous
#721F94 #941F7C #941F41
triadic
#941F7C #7C941F #1F7C94
tetradic
#941F7C #94721F #1F9437 #1F4194
square
#941F7C #94721F #1F9437 #1F4194
split-complementary
#941F7C #41941F #1F9472
monochromatic
#2F0A27 #611452 #941F7C #C72AA6 #DB53BF
Accessibility & contrast
On white
7.65
#941F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#941F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F7C
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F7C | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#4D5A79
Tritanopia (blue-blind)
#9C264C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #941f7c; /* rgb */ color: rgb(148, 31, 124); /* oklch */ color: oklch(46.8% 0.180 338.0);
Tailwind
colors: {
custom: {
50: '#b769a2',
500: '#941f7c',
950: '#000000',
},
}SCSS
$custom: #941f7c; $custom-light: #b769a2; $custom-dark: #000000;
JSON
{
"hex": "#941f7c",
"rgb": {
"r": 148,
"g": 31,
"b": 124
},
"hsl": {
"h": 312.308,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.46752,
"c": 0.17953,
"h": 338
},
"luminance": 0.08731
}Semantic roles & 50–950 ramp
primary
#941F7C
secondary
#51BE67
accent
#E8623F
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F