#951F97#951F97
#951F97 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.5% C 0.200 H 327.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #951F97 |
|---|---|
| RGB | rgb(149, 31, 151) |
| HSL | hsl(299, 66%, 36%) |
| HSV | hsv(299, 79%, 59%) |
| CMYK | cmyk(1.3%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(37.12, 60.63, -38.77) |
| CIE-LCH | lch(37.12, 71.96, 327.40°) |
| OKLab | oklab(48.45% 0.1682 -0.1077) |
| OKLCH | oklch(48.45% 0.2 327.4) |
| XYZ | xyz(18.4701, 9.6053, 30.1533) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.10
Warm Purple
#952E8F
ΔE00 2.76
Darkmagenta
#8B008B
ΔE00 3.76
Purple (survey)
#7E1E9C
ΔE00 5.20
Purple
#800080
ΔE00 5.97
Barney
#AC1DB8
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#951F97 #21971F
analogous
#591F97 #951F97 #971F5D
triadic
#951F97 #97951F #1F9795
tetradic
#951F97 #97591F #21971F #1F5D97
square
#951F97 #97591F #21971F #1F5D97
split-complementary
#951F97 #5D971F #1F9759
monochromatic
#310A31 #631564 #951F97 #C729CA #DA54DC
Accessibility & contrast
On white
7.19
#951F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#951F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #951F97
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##951F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##951F97 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#9A345B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #951f97; /* rgb */ color: rgb(149, 31, 151); /* oklch */ color: oklch(48.5% 0.200 327.4);
Tailwind
colors: {
custom: {
50: '#b86ab6',
500: '#951f97',
950: '#000000',
},
}SCSS
$custom: #951f97; $custom-light: #b86ab6; $custom-dark: #000000;
JSON
{
"hex": "#951f97",
"rgb": {
"r": 149,
"g": 31,
"b": 151
},
"hsl": {
"h": 299,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.48452,
"c": 0.19975,
"h": 327.4
},
"luminance": 0.09604
}Semantic roles & 50–950 ramp
primary
#951F97
secondary
#54BF52
accent
#E93F42
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80