#951F7F#951F7F
#951F7F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 337.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #951F7F |
|---|---|
| RGB | rgb(149, 31, 127) |
| HSL | hsl(311, 66%, 35%) |
| HSV | hsv(311, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 14.8%, 41.6%) |
| CIE-LAB | lab(35.80, 56.87, -26.09) |
| CIE-LCH | lch(35.80, 62.56, 335.36°) |
| OKLab | oklab(47.08% 0.1678 -0.071) |
| OKLCH | oklch(47.08% 0.182 337) |
| XYZ | xyz(16.7155, 8.9034, 20.9128) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.58
Barney Purple
#A00498
ΔE00 4.74
Darkmagenta
#8B008B
ΔE00 5.22
Red Violet
#9E0168
ΔE00 5.88
Purple
#800080
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F7F #1F9535
analogous
#701F95 #951F7F #951F44
triadic
#951F7F #7F951F #1F7F95
tetradic
#951F7F #95701F #1F9535 #1F4495
square
#951F7F #95701F #1F9535 #1F4495
split-complementary
#951F7F #44951F #1F9570
monochromatic
#300A29 #621454 #951F7F #C82AAA #DB53C2
Accessibility & contrast
On white
7.55
#951F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#951F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F7F
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F7F | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#9D274E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951f7f; /* rgb */ color: rgb(149, 31, 127); /* oklch */ color: oklch(47.1% 0.182 337.0);
Tailwind
colors: {
custom: {
50: '#b869a4',
500: '#951f7f',
950: '#000000',
},
}SCSS
$custom: #951f7f; $custom-light: #b869a4; $custom-dark: #000000;
JSON
{
"hex": "#951f7f",
"rgb": {
"r": 149,
"g": 31,
"b": 127
},
"hsl": {
"h": 311.186,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.47075,
"c": 0.18217,
"h": 337
},
"luminance": 0.08902
}Semantic roles & 50–950 ramp
primary
#951F7F
secondary
#51BF66
accent
#E95F3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F