#951F7D#951F7D
#951F7D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.181 H 337.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #951F7D |
|---|---|
| RGB | rgb(149, 31, 125) |
| HSL | hsl(312, 66%, 35%) |
| HSV | hsv(312, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 16.1%, 41.6%) |
| CIE-LAB | lab(35.70, 56.58, -25.00) |
| CIE-LCH | lch(35.70, 61.85, 336.16°) |
| OKLab | oklab(46.97% 0.1676 -0.0679) |
| OKLCH | oklch(46.97% 0.181 337.9) |
| XYZ | xyz(16.5865, 8.8518, 20.2331) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.94
Barney Purple
#A00498
ΔE00 5.13
Red Violet
#9E0168
ΔE00 5.48
Darkmagenta
#8B008B
ΔE00 5.55
Purple
#800080
ΔE00 6.45
Darkish Purple
#751973
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F7D #1F9537
analogous
#721F95 #951F7D #951F42
triadic
#951F7D #7D951F #1F7D95
tetradic
#951F7D #95721F #1F9537 #1F4295
square
#951F7D #95721F #1F9537 #1F4295
split-complementary
#951F7D #42951F #1F9572
monochromatic
#300A28 #621453 #951F7D #C82AA8 #DB53C0
Accessibility & contrast
On white
7.58
#951F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#951F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F7D
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F7D | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#4E5A7A
Tritanopia (blue-blind)
#9E264C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951f7d; /* rgb */ color: rgb(149, 31, 125); /* oklch */ color: oklch(47.0% 0.181 337.9);
Tailwind
colors: {
custom: {
50: '#b869a3',
500: '#951f7d',
950: '#000000',
},
}SCSS
$custom: #951f7d; $custom-light: #b869a3; $custom-dark: #000000;
JSON
{
"hex": "#951f7d",
"rgb": {
"r": 149,
"g": 31,
"b": 125
},
"hsl": {
"h": 312.203,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.4697,
"c": 0.18079,
"h": 337.9
},
"luminance": 0.0885
}Semantic roles & 50–950 ramp
primary
#951F7D
secondary
#51BF67
accent
#E9623F
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F