#942579#942579
#942579 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 339.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #942579 |
|---|---|
| RGB | rgb(148, 37, 121) |
| HSL | hsl(315, 60%, 36%) |
| HSV | hsv(315, 75%, 58%) |
| CMYK | cmyk(0%, 75%, 18.2%, 42%) |
| CIE-LAB | lab(35.99, 53.86, -22.06) |
| CIE-LCH | lch(35.99, 58.20, 337.73°) |
| OKLab | oklab(47.08% 0.1604 -0.0596) |
| OKLCH | oklch(47.08% 0.171 339.6) |
| XYZ | xyz(16.3259, 9.0011, 18.9630) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.56
Red Violet
#9E0168
ΔE00 4.91
Barney Purple
#A00498
ΔE00 6.24
Light Eggplant
#894585
ΔE00 6.59
Darkmagenta
#8B008B
ΔE00 6.69
Bruise
#7E4071
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942579 #259440
analogous
#782594 #942579 #942542
triadic
#942579 #799425 #257994
tetradic
#942579 #947825 #259440 #254294
square
#942579 #947825 #259440 #254294
split-complementary
#942579 #429425 #259478
monochromatic
#320D29 #631951 #942579 #C531A1 #D65DB9
Accessibility & contrast
On white
7.50
#942579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#942579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942579
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942579 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#505B76
Tritanopia (blue-blind)
#9D294C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942579; /* rgb */ color: rgb(148, 37, 121); /* oklch */ color: oklch(47.1% 0.171 339.6);
Tailwind
colors: {
custom: {
50: '#b76ba0',
500: '#942579',
950: '#000000',
},
}SCSS
$custom: #942579; $custom-light: #b76ba0; $custom-dark: #000000;
JSON
{
"hex": "#942579",
"rgb": {
"r": 148,
"g": 37,
"b": 121
},
"hsl": {
"h": 314.595,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.47082,
"c": 0.17108,
"h": 339.6
},
"luminance": 0.09
}Semantic roles & 50–950 ramp
primary
#942579
secondary
#59BB71
accent
#E36B45
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E