#942E7D#942E7D
#942E7D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.163 H 338.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #942E7D |
|---|---|
| RGB | rgb(148, 46, 125) |
| HSL | hsl(314, 53%, 38%) |
| HSV | hsv(314, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 15.5%, 42%) |
| CIE-LAB | lab(37.36, 51.13, -22.42) |
| CIE-LCH | lch(37.36, 55.83, 336.32°) |
| OKLab | oklab(48.14% 0.1509 -0.0607) |
| OKLCH | oklch(48.14% 0.163 338.1) |
| XYZ | xyz(16.8917, 9.7321, 20.3869) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.83
Light Eggplant
#894585
ΔE00 5.23
Bruise
#7E4071
ΔE00 5.97
Red Violet
#9E0168
ΔE00 6.01
Barney Purple
#A00498
ΔE00 6.27
Darkmagenta
#8B008B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E7D #2E9445
analogous
#782E94 #942E7D #942E4A
triadic
#942E7D #7D942E #2E7D94
tetradic
#942E7D #94782E #2E9445 #2E4A94
square
#942E7D #94782E #2E9445 #2E4A94
split-complementary
#942E7D #4A942E #2E9478
monochromatic
#37112E #651F56 #942E7D #C33DA4 #D16BBA
Accessibility & contrast
On white
7.13
#942E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#942E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E7D
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E7D | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#9C3251
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #942e7d; /* rgb */ color: rgb(148, 46, 125); /* oklch */ color: oklch(48.1% 0.163 338.1);
Tailwind
colors: {
custom: {
50: '#b76fa3',
500: '#942e7d',
950: '#000000',
},
}SCSS
$custom: #942e7d; $custom-light: #b76fa3; $custom-dark: #000000;
JSON
{
"hex": "#942e7d",
"rgb": {
"r": 148,
"g": 46,
"b": 125
},
"hsl": {
"h": 313.529,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.48138,
"c": 0.1627,
"h": 338.1
},
"luminance": 0.09731
}Semantic roles & 50–950 ramp
primary
#942E7D
secondary
#66B878
accent
#DC6C4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F