#931F97#931F97
#931F97 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.199 H 326.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #931F97 |
|---|---|
| RGB | rgb(147, 31, 151) |
| HSL | hsl(298, 66%, 36%) |
| HSV | hsv(298, 79%, 59%) |
| CMYK | cmyk(2.6%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(36.78, 60.21, -39.34) |
| CIE-LCH | lch(36.78, 71.93, 326.84°) |
| OKLab | oklab(48.14% 0.1661 -0.1094) |
| OKLCH | oklch(48.14% 0.199 326.6) |
| XYZ | xyz(18.1082, 9.4187, 30.1364) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.41
Warm Purple
#952E8F
ΔE00 3.02
Darkmagenta
#8B008B
ΔE00 3.53
Purple (survey)
#7E1E9C
ΔE00 4.79
Purple
#800080
ΔE00 5.72
Barney
#AC1DB8
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931F97 #23971F
analogous
#571F97 #931F97 #971F5F
triadic
#931F97 #97931F #1F9793
tetradic
#931F97 #97571F #23971F #1F5F97
square
#931F97 #97571F #23971F #1F5F97
split-complementary
#931F97 #5F971F #1F9757
monochromatic
#300A31 #621564 #931F97 #C429CA #D754DC
Accessibility & contrast
On white
7.28
#931F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#931F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931F97
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931F97 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#97355B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #931f97; /* rgb */ color: rgb(147, 31, 151); /* oklch */ color: oklch(48.1% 0.199 326.6);
Tailwind
colors: {
custom: {
50: '#b76ab6',
500: '#931f97',
950: '#000000',
},
}SCSS
$custom: #931f97; $custom-light: #b76ab6; $custom-dark: #000000;
JSON
{
"hex": "#931f97",
"rgb": {
"r": 147,
"g": 31,
"b": 151
},
"hsl": {
"h": 298,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.4814,
"c": 0.19885,
"h": 326.6
},
"luminance": 0.09417
}Semantic roles & 50–950 ramp
primary
#931F97
secondary
#56BF52
accent
#E93F45
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80