#942E82#942E82
#942E82 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.166 H 335.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #942E82 |
|---|---|
| RGB | rgb(148, 46, 130) |
| HSL | hsl(311, 53%, 38%) |
| HSV | hsv(311, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 12.2%, 42%) |
| CIE-LAB | lab(37.60, 51.90, -25.15) |
| CIE-LCH | lch(37.60, 57.68, 334.15°) |
| OKLab | oklab(48.39% 0.1517 -0.0685) |
| OKLCH | oklch(48.39% 0.166 335.7) |
| XYZ | xyz(17.2192, 9.8631, 22.1116) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.70
Light Eggplant
#894585
ΔE00 4.99
Barney Purple
#A00498
ΔE00 5.36
Bruise
#7E4071
ΔE00 6.43
Darkmagenta
#8B008B
ΔE00 6.48
Red Violet
#9E0168
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E82 #2E9440
analogous
#732E94 #942E82 #942E4F
triadic
#942E82 #82942E #2E8294
tetradic
#942E82 #94732E #2E9440 #2E4F94
square
#942E82 #94732E #2E9440 #2E4F94
split-complementary
#942E82 #4F942E #2E9473
monochromatic
#371130 #651F59 #942E82 #C33DAB #D16BBF
Accessibility & contrast
On white
7.06
#942E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#942E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E82
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E82 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#9B3554
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #942e82; /* rgb */ color: rgb(148, 46, 130); /* oklch */ color: oklch(48.4% 0.166 335.7);
Tailwind
colors: {
custom: {
50: '#b76fa6',
500: '#942e82',
950: '#000000',
},
}SCSS
$custom: #942e82; $custom-light: #b76fa6; $custom-dark: #000000;
JSON
{
"hex": "#942e82",
"rgb": {
"r": 148,
"g": 46,
"b": 130
},
"hsl": {
"h": 310.588,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.48389,
"c": 0.1664,
"h": 335.7
},
"luminance": 0.09862
}Semantic roles & 50–950 ramp
primary
#942E82
secondary
#66B874
accent
#DC654C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F