#951F78#951F78
#951F78 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.177 H 340.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #951F78 |
|---|---|
| RGB | rgb(149, 31, 120) |
| HSL | hsl(315, 66%, 35%) |
| HSV | hsv(315, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 19.5%, 41.6%) |
| CIE-LAB | lab(35.45, 55.87, -22.24) |
| CIE-LCH | lch(35.45, 60.13, 338.29°) |
| OKLab | oklab(46.72% 0.167 -0.0601) |
| OKLCH | oklch(46.72% 0.177 340.2) |
| XYZ | xyz(16.2751, 8.7273, 18.5931) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.50
Warm Purple
#952E8F
ΔE00 4.91
Barney Purple
#A00498
ΔE00 6.14
Darkmagenta
#8B008B
ΔE00 6.45
Darkish Purple
#751973
ΔE00 7.06
Purple
#800080
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F78 #1F953C
analogous
#771F95 #951F78 #951F3D
triadic
#951F78 #78951F #1F7895
tetradic
#951F78 #95771F #1F953C #1F3D95
square
#951F78 #95771F #1F953C #1F3D95
split-complementary
#951F78 #3D951F #1F9577
monochromatic
#300A26 #62144F #951F78 #C82AA1 #DB53BA
Accessibility & contrast
On white
7.65
#951F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#951F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F78
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F78 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29477A
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#9E234A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951f78; /* rgb */ color: rgb(149, 31, 120); /* oklch */ color: oklch(46.7% 0.177 340.2);
Tailwind
colors: {
custom: {
50: '#b8699f',
500: '#951f78',
950: '#000000',
},
}SCSS
$custom: #951f78; $custom-light: #b8699f; $custom-dark: #000000;
JSON
{
"hex": "#951f78",
"rgb": {
"r": 149,
"g": 31,
"b": 120
},
"hsl": {
"h": 314.746,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46715,
"c": 0.17745,
"h": 340.2
},
"luminance": 0.08726
}Semantic roles & 50–950 ramp
primary
#951F78
secondary
#51BF6C
accent
#E9693F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E