#941B78#941B78
#941B78 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.3% C 0.181 H 339.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #941B78 |
|---|---|
| RGB | rgb(148, 27, 120) |
| HSL | hsl(314, 69%, 34%) |
| HSV | hsv(314, 82%, 58%) |
| CMYK | cmyk(0%, 81.8%, 18.9%, 42%) |
| CIE-LAB | lab(34.88, 56.75, -23.16) |
| CIE-LCH | lch(34.88, 61.29, 337.80°) |
| OKLab | oklab(46.27% 0.1694 -0.0627) |
| OKLCH | oklch(46.27% 0.181 339.7) |
| XYZ | xyz(15.9953, 8.4375, 18.5519) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.65
Warm Purple
#952E8F
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.95
Darkmagenta
#8B008B
ΔE00 5.97
Purple
#800080
ΔE00 6.55
Darkish Purple
#751973
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941B78 #1B9437
analogous
#741B94 #941B78 #941B3C
triadic
#941B78 #78941B #1B7894
tetradic
#941B78 #94741B #1B9437 #1B3C94
square
#941B78 #94741B #1B9437 #1B3C94
split-complementary
#941B78 #3C941B #1B9474
monochromatic
#2C0824 #60124E #941B78 #C824A2 #DE4BBC
Accessibility & contrast
On white
7.81
#941B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#941B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941B78
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941B78 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#9D2049
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #941b78; /* rgb */ color: rgb(148, 27, 120); /* oklch */ color: oklch(46.3% 0.181 339.7);
Tailwind
colors: {
custom: {
50: '#b7679f',
500: '#941b78',
950: '#000000',
},
}SCSS
$custom: #941b78; $custom-light: #b7679f; $custom-dark: #000000;
JSON
{
"hex": "#941b78",
"rgb": {
"r": 148,
"g": 27,
"b": 120
},
"hsl": {
"h": 313.884,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.46266,
"c": 0.18064,
"h": 339.7
},
"luminance": 0.08436
}Semantic roles & 50–950 ramp
primary
#941B78
secondary
#4BC066
accent
#EC653C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E