#951F76#951F76
#951F76 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.176 H 341.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #951F76 |
|---|---|
| RGB | rgb(149, 31, 118) |
| HSL | hsl(316, 66%, 35%) |
| HSV | hsv(316, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 20.8%, 41.6%) |
| CIE-LAB | lab(35.36, 55.59, -21.14) |
| CIE-LCH | lch(35.36, 59.47, 339.18°) |
| OKLab | oklab(46.62% 0.1667 -0.0569) |
| OKLCH | oklch(46.62% 0.176 341.1) |
| XYZ | xyz(16.1550, 8.6792, 17.9605) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.11
Warm Purple
#952E8F
ΔE00 5.32
Barney Purple
#A00498
ΔE00 6.56
Darkmagenta
#8B008B
ΔE00 6.84
Deep Magenta
#A0025C
ΔE00 7.13
Bruise
#7E4071
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F76 #1F953E
analogous
#791F95 #951F76 #951F3B
triadic
#951F76 #76951F #1F7695
tetradic
#951F76 #95791F #1F953E #1F3B95
square
#951F76 #95791F #1F953E #1F3B95
split-complementary
#951F76 #3B951F #1F9579
monochromatic
#300A26 #62144E #951F76 #C82A9E #DB53B7
Accessibility & contrast
On white
7.68
#951F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#951F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F76
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F76 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#505A73
Tritanopia (blue-blind)
#9E2249
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951f76; /* rgb */ color: rgb(149, 31, 118); /* oklch */ color: oklch(46.6% 0.176 341.1);
Tailwind
colors: {
custom: {
50: '#b8699d',
500: '#951f76',
950: '#000000',
},
}SCSS
$custom: #951f76; $custom-light: #b8699d; $custom-dark: #000000;
JSON
{
"hex": "#951f76",
"rgb": {
"r": 149,
"g": 31,
"b": 118
},
"hsl": {
"h": 315.763,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46616,
"c": 0.17615,
"h": 341.1
},
"luminance": 0.08678
}Semantic roles & 50–950 ramp
primary
#951F76
secondary
#51BF6E
accent
#E96C3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E