#951C7F#951C7F
#951C7F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.185 H 337.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #951C7F |
|---|---|
| RGB | rgb(149, 28, 127) |
| HSL | hsl(311, 68%, 35%) |
| HSV | hsv(311, 81%, 58%) |
| CMYK | cmyk(0%, 81.2%, 14.8%, 41.6%) |
| CIE-LAB | lab(35.51, 57.70, -26.54) |
| CIE-LCH | lch(35.51, 63.52, 335.30°) |
| OKLab | oklab(46.87% 0.1703 -0.0723) |
| OKLCH | oklch(46.87% 0.185 337) |
| XYZ | xyz(16.6408, 8.7540, 20.8879) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.72
Barney Purple
#A00498
ΔE00 4.62
Darkmagenta
#8B008B
ΔE00 4.97
Red Violet
#9E0168
ΔE00 5.89
Purple
#800080
ΔE00 5.97
Darkish Purple
#751973
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951C7F #1C9532
analogous
#6F1C95 #951C7F #951C43
triadic
#951C7F #7F951C #1C7F95
tetradic
#951C7F #956F1C #1C9532 #1C4395
square
#951C7F #956F1C #1C9532 #1C4395
split-complementary
#951C7F #43951C #1C956F
monochromatic
#2E0927 #611253 #951C7F #C926AB #DE4EC4
Accessibility & contrast
On white
7.64
#951C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#951C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951C7F
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951C7F | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9D254D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951c7f; /* rgb */ color: rgb(149, 28, 127); /* oklch */ color: oklch(46.9% 0.185 337.0);
Tailwind
colors: {
custom: {
50: '#b868a4',
500: '#951c7f',
950: '#000000',
},
}SCSS
$custom: #951c7f; $custom-light: #b868a4; $custom-dark: #000000;
JSON
{
"hex": "#951c7f",
"rgb": {
"r": 149,
"g": 28,
"b": 127
},
"hsl": {
"h": 310.909,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.46866,
"c": 0.18498,
"h": 337
},
"luminance": 0.08752
}Semantic roles & 50–950 ramp
primary
#951C7F
secondary
#4DC062
accent
#EB5C3D
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F