#952F7F#952F7F
#952F7F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 337.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #952F7F |
|---|---|
| RGB | rgb(149, 47, 127) |
| HSL | hsl(313, 52%, 38%) |
| HSV | hsv(313, 68%, 58%) |
| CMYK | cmyk(0%, 68.5%, 14.8%, 41.6%) |
| CIE-LAB | lab(37.76, 51.30, -23.02) |
| CIE-LCH | lch(37.76, 56.23, 335.83°) |
| OKLab | oklab(48.5% 0.1511 -0.0624) |
| OKLCH | oklch(48.5% 0.163 337.6) |
| XYZ | xyz(17.2420, 9.9564, 21.0883) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Light Eggplant
#894585
ΔE00 5.03
Barney Purple
#A00498
ΔE00 6.06
Bruise
#7E4071
ΔE00 6.11
Red Violet
#9E0168
ΔE00 6.31
Darkmagenta
#8B008B
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952F7F #2F9545
analogous
#782F95 #952F7F #952F4C
triadic
#952F7F #7F952F #2F7F95
tetradic
#952F7F #95782F #2F9545 #2F4C95
square
#952F7F #95782F #2F9545 #2F4C95
split-complementary
#952F7F #4C952F #2F9578
monochromatic
#381230 #662057 #952F7F #C23FA6 #D16DBC
Accessibility & contrast
On white
7.02
#952F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#952F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952F7F
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952F7F | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#9D3453
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #952f7f; /* rgb */ color: rgb(149, 47, 127); /* oklch */ color: oklch(48.5% 0.163 337.6);
Tailwind
colors: {
custom: {
50: '#b770a4',
500: '#952f7f',
950: '#000000',
},
}SCSS
$custom: #952f7f; $custom-light: #b770a4; $custom-dark: #000000;
JSON
{
"hex": "#952f7f",
"rgb": {
"r": 149,
"g": 47,
"b": 127
},
"hsl": {
"h": 312.941,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.48497,
"c": 0.16349,
"h": 337.6
},
"luminance": 0.09955
}Semantic roles & 50–950 ramp
primary
#952F7F
secondary
#67B879
accent
#DB6B4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F