#951B7F#951B7F
#951B7F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.186 H 337.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #951B7F |
|---|---|
| RGB | rgb(149, 27, 127) |
| HSL | hsl(311, 69%, 35%) |
| HSV | hsv(311, 82%, 58%) |
| CMYK | cmyk(0%, 81.9%, 14.8%, 41.6%) |
| CIE-LAB | lab(35.41, 57.97, -26.69) |
| CIE-LCH | lch(35.41, 63.82, 335.28°) |
| OKLab | oklab(46.8% 0.1711 -0.0727) |
| OKLCH | oklch(46.8% 0.186 337) |
| XYZ | xyz(16.6175, 8.7073, 20.8801) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.77
Barney Purple
#A00498
ΔE00 4.59
Darkmagenta
#8B008B
ΔE00 4.89
Purple
#800080
ΔE00 5.89
Red Violet
#9E0168
ΔE00 5.89
Darkish Purple
#751973
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951B7F #1B9531
analogous
#6E1B95 #951B7F #951B42
triadic
#951B7F #7F951B #1B7F95
tetradic
#951B7F #956E1B #1B9531 #1B4295
square
#951B7F #956E1B #1B9531 #1B4295
split-complementary
#951B7F #42951B #1B956E
monochromatic
#2D0827 #611253 #951B7F #C924AB #DF4CC4
Accessibility & contrast
On white
7.66
#951B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#951B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951B7F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951B7F | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4882
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9D244D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951b7f; /* rgb */ color: rgb(149, 27, 127); /* oklch */ color: oklch(46.8% 0.186 337.0);
Tailwind
colors: {
custom: {
50: '#b868a4',
500: '#951b7f',
950: '#000000',
},
}SCSS
$custom: #951b7f; $custom-light: #b868a4; $custom-dark: #000000;
JSON
{
"hex": "#951b7f",
"rgb": {
"r": 149,
"g": 27,
"b": 127
},
"hsl": {
"h": 310.82,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.468,
"c": 0.18587,
"h": 337
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#951B7F
secondary
#4BC160
accent
#EC5B3C
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F