#951B76#951B76
#951B76 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.180 H 341.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #951B76 |
|---|---|
| RGB | rgb(149, 27, 118) |
| HSL | hsl(315, 69%, 35%) |
| HSV | hsv(315, 82%, 58%) |
| CMYK | cmyk(0%, 81.9%, 20.8%, 41.6%) |
| CIE-LAB | lab(34.97, 56.71, -21.74) |
| CIE-LCH | lch(34.97, 60.73, 339.02°) |
| OKLab | oklab(46.34% 0.1701 -0.0586) |
| OKLCH | oklch(46.34% 0.18 341) |
| XYZ | xyz(16.0569, 8.4831, 17.9278) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.10
Warm Purple
#952E8F
ΔE00 5.39
Barney Purple
#A00498
ΔE00 6.40
Darkmagenta
#8B008B
ΔE00 6.53
Darkish Purple
#751973
ΔE00 7.02
Purple
#800080
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951B76 #1B953A
analogous
#771B95 #951B76 #951B39
triadic
#951B76 #76951B #1B7695
tetradic
#951B76 #95771B #1B953A #1B3995
square
#951B76 #95771B #1B953A #1B3995
split-complementary
#951B76 #39951B #1B9577
monochromatic
#2D0824 #61124D #951B76 #C9249F #DF4CB9
Accessibility & contrast
On white
7.79
#951B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#951B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951B76
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951B76 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#4F5973
Tritanopia (blue-blind)
#9E1F48
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #951b76; /* rgb */ color: rgb(149, 27, 118); /* oklch */ color: oklch(46.3% 0.180 341.0);
Tailwind
colors: {
custom: {
50: '#b8679d',
500: '#951b76',
950: '#000000',
},
}SCSS
$custom: #951b76; $custom-light: #b8679d; $custom-dark: #000000;
JSON
{
"hex": "#951b76",
"rgb": {
"r": 149,
"g": 27,
"b": 118
},
"hsl": {
"h": 315.246,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.46335,
"c": 0.17993,
"h": 341
},
"luminance": 0.08481
}Semantic roles & 50–950 ramp
primary
#951B76
secondary
#4BC169
accent
#EC693C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E