#942580#942580
#942580 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.176 H 336.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #942580 |
|---|---|
| RGB | rgb(148, 37, 128) |
| HSL | hsl(311, 60%, 36%) |
| HSV | hsv(311, 75%, 58%) |
| CMYK | cmyk(0%, 75%, 13.5%, 42%) |
| CIE-LAB | lab(36.33, 54.89, -25.89) |
| CIE-LCH | lch(36.33, 60.70, 334.75°) |
| OKLab | oklab(47.44% 0.1612 -0.0705) |
| OKLCH | oklch(47.44% 0.176 336.4) |
| XYZ | xyz(16.7709, 9.1791, 21.3064) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.12
Barney Purple
#A00498
ΔE00 4.87
Darkmagenta
#8B008B
ΔE00 5.52
Red Violet
#9E0168
ΔE00 6.23
Light Eggplant
#894585
ΔE00 6.24
Purple
#800080
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942580 #259439
analogous
#712594 #942580 #942549
triadic
#942580 #809425 #258094
tetradic
#942580 #947125 #259439 #254994
square
#942580 #947125 #259439 #254994
split-complementary
#942580 #499425 #259471
monochromatic
#320D2B #631956 #942580 #C531AA #D65DC1
Accessibility & contrast
On white
7.41
#942580 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#942580 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942580
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942580 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942580 | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#4E5B7D
Tritanopia (blue-blind)
#9C2D50
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942580; /* rgb */ color: rgb(148, 37, 128); /* oklch */ color: oklch(47.4% 0.176 336.4);
Tailwind
colors: {
custom: {
50: '#b76ba5',
500: '#942580',
950: '#000000',
},
}SCSS
$custom: #942580; $custom-light: #b76ba5; $custom-dark: #000000;
JSON
{
"hex": "#942580",
"rgb": {
"r": 148,
"g": 37,
"b": 128
},
"hsl": {
"h": 310.811,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.47438,
"c": 0.17598,
"h": 336.4
},
"luminance": 0.09178
}Semantic roles & 50–950 ramp
primary
#942580
secondary
#59BB6B
accent
#E36145
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F