#951E7E#951E7E
#951E7E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.182 H 337.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #951E7E |
|---|---|
| RGB | rgb(149, 30, 126) |
| HSL | hsl(312, 66%, 35%) |
| HSV | hsv(312, 80%, 58%) |
| CMYK | cmyk(0%, 79.9%, 15.4%, 41.6%) |
| CIE-LAB | lab(35.65, 57.01, -25.70) |
| CIE-LCH | lch(35.65, 62.53, 335.73°) |
| OKLab | oklab(46.95% 0.1685 -0.0699) |
| OKLCH | oklch(46.95% 0.182 337.5) |
| XYZ | xyz(16.6250, 8.8261, 20.5627) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.80
Barney Purple
#A00498
ΔE00 4.89
Darkmagenta
#8B008B
ΔE00 5.30
Red Violet
#9E0168
ΔE00 5.68
Purple
#800080
ΔE00 6.25
Darkish Purple
#751973
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951E7E #1E9535
analogous
#711E95 #951E7E #951E42
triadic
#951E7E #7E951E #1E7E95
tetradic
#951E7E #95711E #1E9535 #1E4295
square
#951E7E #95711E #1E9535 #1E4295
split-complementary
#951E7E #42951E #1E9571
monochromatic
#2F0928 #621453 #951E7E #C828A9 #DC51C1
Accessibility & contrast
On white
7.60
#951E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#951E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951E7E
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951E7E | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234881
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#9D264D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951e7e; /* rgb */ color: rgb(149, 30, 126); /* oklch */ color: oklch(46.9% 0.182 337.5);
Tailwind
colors: {
custom: {
50: '#b869a3',
500: '#951e7e',
950: '#000000',
},
}SCSS
$custom: #951e7e; $custom-light: #b869a3; $custom-dark: #000000;
JSON
{
"hex": "#951e7e",
"rgb": {
"r": 149,
"g": 30,
"b": 126
},
"hsl": {
"h": 311.597,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.4695,
"c": 0.18245,
"h": 337.5
},
"luminance": 0.08824
}Semantic roles & 50–950 ramp
primary
#951E7E
secondary
#50BF65
accent
#E95F3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F