#942E81#942E81
#942E81 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.166 H 336.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #942E81 |
|---|---|
| RGB | rgb(148, 46, 129) |
| HSL | hsl(311, 53%, 38%) |
| HSV | hsv(311, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 12.8%, 42%) |
| CIE-LAB | lab(37.55, 51.75, -24.61) |
| CIE-LCH | lch(37.55, 57.30, 334.57°) |
| OKLab | oklab(48.34% 0.1515 -0.0669) |
| OKLCH | oklch(48.34% 0.166 336.2) |
| XYZ | xyz(17.1524, 9.8363, 21.7599) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.93
Light Eggplant
#894585
ΔE00 5.02
Barney Purple
#A00498
ΔE00 5.54
Bruise
#7E4071
ΔE00 6.33
Darkmagenta
#8B008B
ΔE00 6.61
Red Violet
#9E0168
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E81 #2E9441
analogous
#742E94 #942E81 #942E4E
triadic
#942E81 #81942E #2E8194
tetradic
#942E81 #94742E #2E9441 #2E4E94
square
#942E81 #94742E #2E9441 #2E4E94
split-complementary
#942E81 #4E942E #2E9474
monochromatic
#371130 #651F58 #942E81 #C33DAA #D16BBE
Accessibility & contrast
On white
7.08
#942E81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#942E81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E81
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E81 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#515E7E
Tritanopia (blue-blind)
#9C3453
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #942e81; /* rgb */ color: rgb(148, 46, 129); /* oklch */ color: oklch(48.3% 0.166 336.2);
Tailwind
colors: {
custom: {
50: '#b76fa6',
500: '#942e81',
950: '#000000',
},
}SCSS
$custom: #942e81; $custom-light: #b76fa6; $custom-dark: #000000;
JSON
{
"hex": "#942e81",
"rgb": {
"r": 148,
"g": 46,
"b": 129
},
"hsl": {
"h": 311.176,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.48338,
"c": 0.16565,
"h": 336.2
},
"luminance": 0.09835
}Semantic roles & 50–950 ramp
primary
#942E81
secondary
#66B875
accent
#DC674C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F