#951F7C#951F7C
#951F7C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.180 H 338.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #951F7C |
|---|---|
| RGB | rgb(149, 31, 124) |
| HSL | hsl(313, 66%, 35%) |
| HSV | hsv(313, 79%, 58%) |
| CMYK | cmyk(0%, 79.2%, 16.8%, 41.6%) |
| CIE-LAB | lab(35.65, 56.43, -24.45) |
| CIE-LCH | lch(35.65, 61.50, 336.58°) |
| OKLab | oklab(46.92% 0.1674 -0.0664) |
| OKLCH | oklch(46.92% 0.18 338.4) |
| XYZ | xyz(16.5229, 8.8264, 19.8984) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.12
Red Violet
#9E0168
ΔE00 5.28
Barney Purple
#A00498
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 5.72
Purple
#800080
ΔE00 6.57
Darkish Purple
#751973
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F7C #1F9538
analogous
#731F95 #951F7C #951F41
triadic
#951F7C #7C951F #1F7C95
tetradic
#951F7C #95731F #1F9538 #1F4195
square
#951F7C #95731F #1F9538 #1F4195
split-complementary
#951F7C #41951F #1F9573
monochromatic
#300A28 #621452 #951F7C #C82AA6 #DB53BE
Accessibility & contrast
On white
7.59
#951F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#951F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F7C
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F7C | 1.00 | 7.59 | 2.76 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#9E254C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #951f7c; /* rgb */ color: rgb(149, 31, 124); /* oklch */ color: oklch(46.9% 0.180 338.4);
Tailwind
colors: {
custom: {
50: '#b869a2',
500: '#951f7c',
950: '#000000',
},
}SCSS
$custom: #951f7c; $custom-light: #b869a2; $custom-dark: #000000;
JSON
{
"hex": "#951f7c",
"rgb": {
"r": 149,
"g": 31,
"b": 124
},
"hsl": {
"h": 312.712,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.46918,
"c": 0.18012,
"h": 338.4
},
"luminance": 0.08825
}Semantic roles & 50–950 ramp
primary
#951F7C
secondary
#51BF68
accent
#E9633F
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F