#951E79#951E79
#951E79 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 339.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #951E79 |
|---|---|
| RGB | rgb(149, 30, 121) |
| HSL | hsl(314, 66%, 35%) |
| HSV | hsv(314, 80%, 58%) |
| CMYK | cmyk(0%, 79.9%, 18.8%, 41.6%) |
| CIE-LAB | lab(35.40, 56.30, -22.96) |
| CIE-LCH | lch(35.40, 60.80, 337.82°) |
| OKLab | oklab(46.69% 0.168 -0.0621) |
| OKLCH | oklch(46.69% 0.179 339.7) |
| XYZ | xyz(16.3104, 8.7002, 18.9058) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.69
Warm Purple
#952E8F
ΔE00 4.73
Barney Purple
#A00498
ΔE00 5.89
Darkmagenta
#8B008B
ΔE00 6.18
Purple
#800080
ΔE00 6.87
Darkish Purple
#751973
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951E79 #1E953A
analogous
#761E95 #951E79 #951E3D
triadic
#951E79 #79951E #1E7995
tetradic
#951E79 #95761E #1E953A #1E3D95
square
#951E79 #95761E #1E953A #1E3D95
split-complementary
#951E79 #3D951E #1E9576
monochromatic
#2F0926 #621450 #951E79 #C828A2 #DC51BB
Accessibility & contrast
On white
7.66
#951E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#951E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951E79
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951E79 | 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)
#27477B
Deuteranopia (green-blind)
#4F5A76
Tritanopia (blue-blind)
#9E234A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951e79; /* rgb */ color: rgb(149, 30, 121); /* oklch */ color: oklch(46.7% 0.179 339.7);
Tailwind
colors: {
custom: {
50: '#b868a0',
500: '#951e79',
950: '#000000',
},
}SCSS
$custom: #951e79; $custom-light: #b868a0; $custom-dark: #000000;
JSON
{
"hex": "#951e79",
"rgb": {
"r": 149,
"g": 30,
"b": 121
},
"hsl": {
"h": 314.118,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.46693,
"c": 0.17909,
"h": 339.7
},
"luminance": 0.08699
}Semantic roles & 50–950 ramp
primary
#951E79
secondary
#50BF6A
accent
#E9673E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E