#951B7E#951B7E
#951B7E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.185 H 337.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #951B7E |
|---|---|
| RGB | rgb(149, 27, 126) |
| HSL | hsl(311, 69%, 35%) |
| HSV | hsv(311, 82%, 58%) |
| CMYK | cmyk(0%, 81.9%, 15.4%, 41.6%) |
| CIE-LAB | lab(35.36, 57.83, -26.14) |
| CIE-LCH | lch(35.36, 63.46, 335.67°) |
| OKLab | oklab(46.75% 0.171 -0.0712) |
| OKLCH | oklch(46.75% 0.185 337.4) |
| XYZ | xyz(16.5526, 8.6814, 20.5386) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.93
Barney Purple
#A00498
ΔE00 4.78
Darkmagenta
#8B008B
ΔE00 5.05
Red Violet
#9E0168
ΔE00 5.70
Purple
#800080
ΔE00 6.00
Darkish Purple
#751973
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951B7E #1B9532
analogous
#6F1B95 #951B7E #951B41
triadic
#951B7E #7E951B #1B7E95
tetradic
#951B7E #956F1B #1B9532 #1B4195
square
#951B7E #956F1B #1B9532 #1B4195
split-complementary
#951B7E #41951B #1B956F
monochromatic
#2D0826 #611252 #951B7E #C924AA #DF4CC3
Accessibility & contrast
On white
7.68
#951B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#951B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951B7E
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951B7E | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204781
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#9D244C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951b7e; /* rgb */ color: rgb(149, 27, 126); /* oklch */ color: oklch(46.7% 0.185 337.4);
Tailwind
colors: {
custom: {
50: '#b868a3',
500: '#951b7e',
950: '#000000',
},
}SCSS
$custom: #951b7e; $custom-light: #b868a3; $custom-dark: #000000;
JSON
{
"hex": "#951b7e",
"rgb": {
"r": 149,
"g": 27,
"b": 126
},
"hsl": {
"h": 311.311,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.46747,
"c": 0.18519,
"h": 337.4
},
"luminance": 0.0868
}Semantic roles & 50–950 ramp
primary
#951B7E
secondary
#4BC161
accent
#EC5D3C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F