#951B78#951B78
#951B78 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.181 H 340.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #951B78 |
|---|---|
| RGB | rgb(149, 27, 120) |
| HSL | hsl(314, 69%, 35%) |
| HSV | hsv(314, 82%, 58%) |
| CMYK | cmyk(0%, 81.9%, 19.5%, 41.6%) |
| CIE-LAB | lab(35.07, 56.98, -22.85) |
| CIE-LCH | lch(35.07, 61.39, 338.15°) |
| OKLab | oklab(46.44% 0.1704 -0.0618) |
| OKLCH | oklch(46.44% 0.181 340.1) |
| XYZ | xyz(16.1770, 8.5312, 18.5604) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.50
Warm Purple
#952E8F
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.98
Darkmagenta
#8B008B
ΔE00 6.14
Purple
#800080
ΔE00 6.76
Darkish Purple
#751973
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951B78 #1B9538
analogous
#751B95 #951B78 #951B3B
triadic
#951B78 #78951B #1B7895
tetradic
#951B78 #95751B #1B9538 #1B3B95
square
#951B78 #95751B #1B9538 #1B3B95
split-complementary
#951B78 #3B951B #1B9575
monochromatic
#2D0825 #61124E #951B78 #C924A2 #DF4CBC
Accessibility & contrast
On white
7.76
#951B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#951B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951B78
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951B78 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#9E2049
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #951b78; /* rgb */ color: rgb(149, 27, 120); /* oklch */ color: oklch(46.4% 0.181 340.1);
Tailwind
colors: {
custom: {
50: '#b8679f',
500: '#951b78',
950: '#000000',
},
}SCSS
$custom: #951b78; $custom-light: #b8679f; $custom-dark: #000000;
JSON
{
"hex": "#951b78",
"rgb": {
"r": 149,
"g": 27,
"b": 120
},
"hsl": {
"h": 314.262,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.46436,
"c": 0.18122,
"h": 340.1
},
"luminance": 0.08529
}Semantic roles & 50–950 ramp
primary
#951B78
secondary
#4BC167
accent
#EC663C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E