#952F7D#952F7D
#952F7D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.162 H 338.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #952F7D |
|---|---|
| RGB | rgb(149, 47, 125) |
| HSL | hsl(314, 52%, 38%) |
| HSV | hsv(314, 68%, 58%) |
| CMYK | cmyk(0%, 68.5%, 16.1%, 41.6%) |
| CIE-LAB | lab(37.67, 51.00, -21.92) |
| CIE-LCH | lch(37.67, 55.51, 336.74°) |
| OKLab | oklab(48.4% 0.1508 -0.0593) |
| OKLCH | oklch(48.4% 0.162 338.5) |
| XYZ | xyz(17.1130, 9.9048, 20.4086) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.99
Light Eggplant
#894585
ΔE00 5.17
Bruise
#7E4071
ΔE00 5.95
Red Violet
#9E0168
ΔE00 5.98
Barney Purple
#A00498
ΔE00 6.44
Darkmagenta
#8B008B
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952F7D #2F9547
analogous
#7A2F95 #952F7D #952F4A
triadic
#952F7D #7D952F #2F7D95
tetradic
#952F7D #957A2F #2F9547 #2F4A95
square
#952F7D #957A2F #2F9547 #2F4A95
split-complementary
#952F7D #4A952F #2F957A
monochromatic
#38122F #662056 #952F7D #C23FA3 #D16DBA
Accessibility & contrast
On white
7.05
#952F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#952F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952F7D
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952F7D | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#545E7B
Tritanopia (blue-blind)
#9D3352
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #952f7d; /* rgb */ color: rgb(149, 47, 125); /* oklch */ color: oklch(48.4% 0.162 338.5);
Tailwind
colors: {
custom: {
50: '#b770a3',
500: '#952f7d',
950: '#000000',
},
}SCSS
$custom: #952f7d; $custom-light: #b770a3; $custom-dark: #000000;
JSON
{
"hex": "#952f7d",
"rgb": {
"r": 149,
"g": 47,
"b": 125
},
"hsl": {
"h": 314.118,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.48399,
"c": 0.16203,
"h": 338.5
},
"luminance": 0.09903
}Semantic roles & 50–950 ramp
primary
#952F7D
secondary
#67B87A
accent
#DB6E4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F