#951F77#951F77
#951F77 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.177 H 340.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #951F77 |
|---|---|
| RGB | rgb(149, 31, 119) |
| HSL | hsl(315, 66%, 35%) |
| HSV | hsv(315, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 20.1%, 41.6%) |
| CIE-LAB | lab(35.41, 55.73, -21.69) |
| CIE-LCH | lch(35.41, 59.80, 338.73°) |
| OKLab | oklab(46.67% 0.1668 -0.0585) |
| OKLCH | oklch(46.67% 0.177 340.7) |
| XYZ | xyz(16.2147, 8.7031, 18.2751) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.30
Warm Purple
#952E8F
ΔE00 5.11
Barney Purple
#A00498
ΔE00 6.35
Darkmagenta
#8B008B
ΔE00 6.64
Darkish Purple
#751973
ΔE00 7.15
Purple
#800080
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F77 #1F953D
analogous
#781F95 #951F77 #951F3C
triadic
#951F77 #77951F #1F7795
tetradic
#951F77 #95781F #1F953D #1F3C95
square
#951F77 #95781F #1F953D #1F3C95
split-complementary
#951F77 #3C951F #1F9578
monochromatic
#300A26 #62144F #951F77 #C82A9F #DB53B9
Accessibility & contrast
On white
7.66
#951F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#951F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F77
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F77 | 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)
#294779
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#9E2349
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951f77; /* rgb */ color: rgb(149, 31, 119); /* oklch */ color: oklch(46.7% 0.177 340.7);
Tailwind
colors: {
custom: {
50: '#b8699e',
500: '#951f77',
950: '#000000',
},
}SCSS
$custom: #951f77; $custom-light: #b8699e; $custom-dark: #000000;
JSON
{
"hex": "#951f77",
"rgb": {
"r": 149,
"g": 31,
"b": 119
},
"hsl": {
"h": 315.254,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46666,
"c": 0.1768,
"h": 340.7
},
"luminance": 0.08701
}Semantic roles & 50–950 ramp
primary
#951F77
secondary
#51BF6D
accent
#E96A3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E