#951E7D#951E7D
#951E7D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.182 H 337.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #951E7D |
|---|---|
| RGB | rgb(149, 30, 125) |
| HSL | hsl(312, 66%, 35%) |
| HSV | hsv(312, 80%, 58%) |
| CMYK | cmyk(0%, 79.9%, 16.1%, 41.6%) |
| CIE-LAB | lab(35.60, 56.86, -25.15) |
| CIE-LCH | lch(35.60, 62.18, 336.14°) |
| OKLab | oklab(46.9% 0.1684 -0.0684) |
| OKLCH | oklch(46.9% 0.182 337.9) |
| XYZ | xyz(16.5608, 8.8004, 20.2245) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.98
Barney Purple
#A00498
ΔE00 5.08
Darkmagenta
#8B008B
ΔE00 5.46
Red Violet
#9E0168
ΔE00 5.48
Purple
#800080
ΔE00 6.36
Darkish Purple
#751973
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951E7D #1E9536
analogous
#721E95 #951E7D #951E41
triadic
#951E7D #7D951E #1E7D95
tetradic
#951E7D #95721E #1E9536 #1E4195
square
#951E7D #95721E #1E9536 #1E4195
split-complementary
#951E7D #41951E #1E9572
monochromatic
#2F0928 #621452 #951E7D #C828A8 #DC51C0
Accessibility & contrast
On white
7.61
#951E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#951E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951E7D
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951E7D | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#9E254C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951e7d; /* rgb */ color: rgb(149, 30, 125); /* oklch */ color: oklch(46.9% 0.182 337.9);
Tailwind
colors: {
custom: {
50: '#b869a3',
500: '#951e7d',
950: '#000000',
},
}SCSS
$custom: #951e7d; $custom-light: #b869a3; $custom-dark: #000000;
JSON
{
"hex": "#951e7d",
"rgb": {
"r": 149,
"g": 30,
"b": 125
},
"hsl": {
"h": 312.101,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.46898,
"c": 0.18176,
"h": 337.9
},
"luminance": 0.08799
}Semantic roles & 50–950 ramp
primary
#951E7D
secondary
#50BF66
accent
#E9613E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F