#952782#952782
#952782 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.176 H 335.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #952782 |
|---|---|
| RGB | rgb(149, 39, 130) |
| HSL | hsl(310, 59%, 37%) |
| HSV | hsv(310, 74%, 58%) |
| CMYK | cmyk(0%, 73.8%, 12.8%, 41.6%) |
| CIE-LAB | lab(36.84, 54.76, -26.31) |
| CIE-LCH | lch(36.84, 60.76, 334.33°) |
| OKLab | oklab(47.88% 0.1604 -0.0717) |
| OKLCH | oklch(47.88% 0.176 335.9) |
| XYZ | xyz(17.1495, 9.4538, 22.0363) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.73
Barney Purple
#A00498
ΔE00 4.69
Darkmagenta
#8B008B
ΔE00 5.65
Light Eggplant
#894585
ΔE00 5.97
Red Violet
#9E0168
ΔE00 6.53
Purple
#800080
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952782 #27953A
analogous
#712795 #952782 #95274B
triadic
#952782 #829527 #278295
tetradic
#952782 #957127 #27953A #274B95
square
#952782 #957127 #27953A #274B95
split-complementary
#952782 #4B9527 #279571
monochromatic
#340E2D #641A58 #952782 #C634AC #D661C1
Accessibility & contrast
On white
7.27
#952782 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#952782 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952782
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952782 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#4E5D7F
Tritanopia (blue-blind)
#9D2F51
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #952782; /* rgb */ color: rgb(149, 39, 130); /* oklch */ color: oklch(47.9% 0.176 335.9);
Tailwind
colors: {
custom: {
50: '#b86ca6',
500: '#952782',
950: '#000000',
},
}SCSS
$custom: #952782; $custom-light: #b86ca6; $custom-dark: #000000;
JSON
{
"hex": "#952782",
"rgb": {
"r": 149,
"g": 39,
"b": 130
},
"hsl": {
"h": 310.364,
"s": 58.511,
"l": 36.863
},
"oklch": {
"l": 0.47878,
"c": 0.17573,
"h": 335.9
},
"luminance": 0.09452
}Semantic roles & 50–950 ramp
primary
#952782
secondary
#5DBB6D
accent
#E26146
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F