#941F7D#941F7D
#941F7D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.180 H 337.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #941F7D |
|---|---|
| RGB | rgb(148, 31, 125) |
| HSL | hsl(312, 65%, 35%) |
| HSV | hsv(312, 79%, 58%) |
| CMYK | cmyk(0%, 79.1%, 15.5%, 42%) |
| CIE-LAB | lab(35.51, 56.34, -25.30) |
| CIE-LCH | lch(35.51, 61.76, 335.82°) |
| OKLab | oklab(46.8% 0.1666 -0.0688) |
| OKLCH | oklch(46.8% 0.18 337.6) |
| XYZ | xyz(16.4048, 8.7581, 20.2246) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.90
Barney Purple
#A00498
ΔE00 5.10
Darkmagenta
#8B008B
ΔE00 5.38
Red Violet
#9E0168
ΔE00 5.62
Purple
#800080
ΔE00 6.24
Darkish Purple
#751973
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F7D #1F9436
analogous
#711F94 #941F7D #941F42
triadic
#941F7D #7D941F #1F7D94
tetradic
#941F7D #94711F #1F9436 #1F4294
square
#941F7D #94711F #1F9436 #1F4294
split-complementary
#941F7D #42941F #1F9471
monochromatic
#2F0A28 #611452 #941F7D #C72AA8 #DB53C0
Accessibility & contrast
On white
7.63
#941F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#941F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F7D
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F7D | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#9C264C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #941f7d; /* rgb */ color: rgb(148, 31, 125); /* oklch */ color: oklch(46.8% 0.180 337.6);
Tailwind
colors: {
custom: {
50: '#b769a3',
500: '#941f7d',
950: '#000000',
},
}SCSS
$custom: #941f7d; $custom-light: #b769a3; $custom-dark: #000000;
JSON
{
"hex": "#941f7d",
"rgb": {
"r": 148,
"g": 31,
"b": 125
},
"hsl": {
"h": 311.795,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.46804,
"c": 0.18022,
"h": 337.6
},
"luminance": 0.08757
}Semantic roles & 50–950 ramp
primary
#941F7D
secondary
#51BE66
accent
#E8613F
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F