#951F7B#951F7B
#951F7B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.179 H 338.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #951F7B |
|---|---|
| RGB | rgb(149, 31, 123) |
| HSL | hsl(313, 66%, 35%) |
| HSV | hsv(313, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 17.4%, 41.6%) |
| CIE-LAB | lab(35.60, 56.29, -23.90) |
| CIE-LCH | lch(35.60, 61.15, 336.99°) |
| OKLab | oklab(46.87% 0.1673 -0.0648) |
| OKLCH | oklch(46.87% 0.179 338.8) |
| XYZ | xyz(16.4600, 8.8012, 19.5670) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Red Violet
#9E0168
ΔE00 5.09
Barney Purple
#A00498
ΔE00 5.53
Darkmagenta
#8B008B
ΔE00 5.90
Purple
#800080
ΔE00 6.69
Darkish Purple
#751973
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F7B #1F9539
analogous
#741F95 #951F7B #951F40
triadic
#951F7B #7B951F #1F7B95
tetradic
#951F7B #95741F #1F9539 #1F4095
square
#951F7B #95741F #1F9539 #1F4095
split-complementary
#951F7B #40951F #1F9574
monochromatic
#300A27 #621451 #951F7B #C82AA5 #DB53BD
Accessibility & contrast
On white
7.61
#951F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#951F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F7B
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F7B | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#4E5A78
Tritanopia (blue-blind)
#9E254B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951f7b; /* rgb */ color: rgb(149, 31, 123); /* oklch */ color: oklch(46.9% 0.179 338.8);
Tailwind
colors: {
custom: {
50: '#b869a1',
500: '#951f7b',
950: '#000000',
},
}SCSS
$custom: #951f7b; $custom-light: #b869a1; $custom-dark: #000000;
JSON
{
"hex": "#951f7b",
"rgb": {
"r": 149,
"g": 31,
"b": 123
},
"hsl": {
"h": 313.22,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46867,
"c": 0.17944,
"h": 338.8
},
"luminance": 0.088
}Semantic roles & 50–950 ramp
primary
#951F7B
secondary
#51BF69
accent
#E9653F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E