#941F78#941F78
#941F78 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.177 H 339.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #941F78 |
|---|---|
| RGB | rgb(148, 31, 120) |
| HSL | hsl(314, 65%, 35%) |
| HSV | hsv(314, 79%, 58%) |
| CMYK | cmyk(0%, 79.1%, 18.9%, 42%) |
| CIE-LAB | lab(35.27, 55.63, -22.55) |
| CIE-LCH | lch(35.27, 60.02, 337.94°) |
| OKLab | oklab(46.55% 0.166 -0.061) |
| OKLCH | oklch(46.55% 0.177 339.8) |
| XYZ | xyz(16.0934, 8.6336, 18.5846) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.64
Warm Purple
#952E8F
ΔE00 4.85
Barney Purple
#A00498
ΔE00 6.10
Darkmagenta
#8B008B
ΔE00 6.28
Darkish Purple
#751973
ΔE00 6.84
Purple
#800080
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F78 #1F943B
analogous
#751F94 #941F78 #941F3D
triadic
#941F78 #78941F #1F7894
tetradic
#941F78 #94751F #1F943B #1F3D94
square
#941F78 #94751F #1F943B #1F3D94
split-complementary
#941F78 #3D941F #1F9475
monochromatic
#2F0A26 #61144F #941F78 #C72AA1 #DB53BA
Accessibility & contrast
On white
7.70
#941F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#941F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F78
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F78 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#4F5975
Tritanopia (blue-blind)
#9D244A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #941f78; /* rgb */ color: rgb(148, 31, 120); /* oklch */ color: oklch(46.5% 0.177 339.8);
Tailwind
colors: {
custom: {
50: '#b7699f',
500: '#941f78',
950: '#000000',
},
}SCSS
$custom: #941f78; $custom-light: #b7699f; $custom-dark: #000000;
JSON
{
"hex": "#941f78",
"rgb": {
"r": 148,
"g": 31,
"b": 120
},
"hsl": {
"h": 314.359,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.46548,
"c": 0.17685,
"h": 339.8
},
"luminance": 0.08632
}Semantic roles & 50–950 ramp
primary
#941F78
secondary
#51BE6B
accent
#E8683F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E