#952F7B#952F7B
#952F7B is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.161 H 339.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #952F7B |
|---|---|
| RGB | rgb(149, 47, 123) |
| HSL | hsl(315, 52%, 38%) |
| HSV | hsv(315, 68%, 58%) |
| CMYK | cmyk(0%, 68.5%, 17.4%, 41.6%) |
| CIE-LAB | lab(37.58, 50.69, -20.82) |
| CIE-LCH | lch(37.58, 54.80, 337.67°) |
| OKLab | oklab(48.3% 0.1505 -0.0562) |
| OKLCH | oklch(48.3% 0.161 339.5) |
| XYZ | xyz(16.9865, 9.8542, 19.7425) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.45
Light Eggplant
#894585
ΔE00 5.35
Red Violet
#9E0168
ΔE00 5.66
Bruise
#7E4071
ΔE00 5.83
Barney Purple
#A00498
ΔE00 6.83
Darkmagenta
#8B008B
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952F7B #2F9549
analogous
#7C2F95 #952F7B #952F48
triadic
#952F7B #7B952F #2F7B95
tetradic
#952F7B #957C2F #2F9549 #2F4895
square
#952F7B #957C2F #2F9549 #2F4895
split-complementary
#952F7B #48952F #2F957C
monochromatic
#38122E #662055 #952F7B #C23FA1 #D16DB8
Accessibility & contrast
On white
7.07
#952F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#952F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952F7B
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952F7B | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#9E3251
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #952f7b; /* rgb */ color: rgb(149, 47, 123); /* oklch */ color: oklch(48.3% 0.161 339.5);
Tailwind
colors: {
custom: {
50: '#b770a1',
500: '#952f7b',
950: '#000000',
},
}SCSS
$custom: #952f7b; $custom-light: #b770a1; $custom-dark: #000000;
JSON
{
"hex": "#952f7b",
"rgb": {
"r": 149,
"g": 47,
"b": 123
},
"hsl": {
"h": 315.294,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.48303,
"c": 0.16061,
"h": 339.5
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#952F7B
secondary
#67B87C
accent
#DB714C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E