#951E78#951E78
#951E78 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 340.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #951E78 |
|---|---|
| RGB | rgb(149, 30, 120) |
| HSL | hsl(315, 66%, 35%) |
| HSV | hsv(315, 80%, 58%) |
| CMYK | cmyk(0%, 79.9%, 19.5%, 41.6%) |
| CIE-LAB | lab(35.35, 56.16, -22.40) |
| CIE-LCH | lch(35.35, 60.46, 338.25°) |
| OKLab | oklab(46.64% 0.1679 -0.0605) |
| OKLCH | oklch(46.64% 0.178 340.2) |
| XYZ | xyz(16.2494, 8.6758, 18.5845) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.49
Warm Purple
#952E8F
ΔE00 4.93
Barney Purple
#A00498
ΔE00 6.10
Darkmagenta
#8B008B
ΔE00 6.37
Darkish Purple
#751973
ΔE00 7.00
Purple
#800080
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951E78 #1E953B
analogous
#761E95 #951E78 #951E3C
triadic
#951E78 #78951E #1E7895
tetradic
#951E78 #95761E #1E953B #1E3C95
square
#951E78 #95761E #1E953B #1E3C95
split-complementary
#951E78 #3C951E #1E9576
monochromatic
#2F0926 #62144F #951E78 #C828A1 #DC51BA
Accessibility & contrast
On white
7.68
#951E78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#951E78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951E78
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951E78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951E78 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#4F5A75
Tritanopia (blue-blind)
#9E2249
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #951e78; /* rgb */ color: rgb(149, 30, 120); /* oklch */ color: oklch(46.6% 0.178 340.2);
Tailwind
colors: {
custom: {
50: '#b8689f',
500: '#951e78',
950: '#000000',
},
}SCSS
$custom: #951e78; $custom-light: #b8689f; $custom-dark: #000000;
JSON
{
"hex": "#951e78",
"rgb": {
"r": 149,
"g": 30,
"b": 120
},
"hsl": {
"h": 314.622,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.46642,
"c": 0.17843,
"h": 340.2
},
"luminance": 0.08674
}Semantic roles & 50–950 ramp
primary
#951E78
secondary
#50BF6B
accent
#E9683E
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E