#942079#942079
#942079 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.177 H 339.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #942079 |
|---|---|
| RGB | rgb(148, 32, 121) |
| HSL | hsl(314, 64%, 35%) |
| HSV | hsv(314, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 18.2%, 42%) |
| CIE-LAB | lab(35.42, 55.47, -22.94) |
| CIE-LCH | lch(35.42, 60.02, 337.53°) |
| OKLab | oklab(46.67% 0.1652 -0.0621) |
| OKLCH | oklch(46.67% 0.177 339.4) |
| XYZ | xyz(16.1809, 8.7110, 18.9147) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.63
Red Violet
#9E0168
ΔE00 4.84
Barney Purple
#A00498
ΔE00 5.94
Darkmagenta
#8B008B
ΔE00 6.18
Darkish Purple
#751973
ΔE00 6.82
Purple
#800080
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942079 #20943B
analogous
#752094 #942079 #94203F
triadic
#942079 #799420 #207994
tetradic
#942079 #947520 #20943B #203F94
square
#942079 #947520 #20943B #203F94
split-complementary
#942079 #3F9420 #209475
monochromatic
#2F0A27 #621550 #942079 #C62BA2 #DA54BB
Accessibility & contrast
On white
7.66
#942079 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#942079 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942079
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942079 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#4F5A76
Tritanopia (blue-blind)
#9D254B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942079; /* rgb */ color: rgb(148, 32, 121); /* oklch */ color: oklch(46.7% 0.177 339.4);
Tailwind
colors: {
custom: {
50: '#b769a0',
500: '#942079',
950: '#000000',
},
}SCSS
$custom: #942079; $custom-light: #b769a0; $custom-dark: #000000;
JSON
{
"hex": "#942079",
"rgb": {
"r": 148,
"g": 32,
"b": 121
},
"hsl": {
"h": 313.966,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.46674,
"c": 0.17651,
"h": 339.4
},
"luminance": 0.08709
}Semantic roles & 50–950 ramp
primary
#942079
secondary
#52BE6B
accent
#E76740
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E