#951F81#951F81
#951F81 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.184 H 336.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #951F81 |
|---|---|
| RGB | rgb(149, 31, 129) |
| HSL | hsl(310, 66%, 35%) |
| HSV | hsv(310, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 13.4%, 41.6%) |
| CIE-LAB | lab(35.90, 57.16, -27.17) |
| CIE-LCH | lch(35.90, 63.29, 334.58°) |
| OKLab | oklab(47.18% 0.1679 -0.0741) |
| OKLCH | oklch(47.18% 0.184 336.2) |
| XYZ | xyz(16.8472, 8.9561, 21.6061) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.24
Barney Purple
#A00498
ΔE00 4.36
Darkmagenta
#8B008B
ΔE00 4.91
Purple
#800080
ΔE00 6.04
Red Violet
#9E0168
ΔE00 6.27
Darkish Purple
#751973
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F81 #1F9533
analogous
#6E1F95 #951F81 #951F46
triadic
#951F81 #81951F #1F8195
tetradic
#951F81 #956E1F #1F9533 #1F4695
square
#951F81 #956E1F #1F9533 #1F4695
split-complementary
#951F81 #46951F #1F956E
monochromatic
#300A29 #621455 #951F81 #C82AAD #DB53C4
Accessibility & contrast
On white
7.52
#951F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#951F81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F81
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F81 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214984
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9D284F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951f81; /* rgb */ color: rgb(149, 31, 129); /* oklch */ color: oklch(47.2% 0.184 336.2);
Tailwind
colors: {
custom: {
50: '#b869a6',
500: '#951f81',
950: '#000000',
},
}SCSS
$custom: #951f81; $custom-light: #b869a6; $custom-dark: #000000;
JSON
{
"hex": "#951f81",
"rgb": {
"r": 149,
"g": 31,
"b": 129
},
"hsl": {
"h": 310.169,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.47181,
"c": 0.18356,
"h": 336.2
},
"luminance": 0.08955
}Semantic roles & 50–950 ramp
primary
#951F81
secondary
#51BF64
accent
#E95C3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F