#941F97#941F97
#941F97 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.199 H 327.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #941F97 |
|---|---|
| RGB | rgb(148, 31, 151) |
| HSL | hsl(299, 66%, 36%) |
| HSV | hsv(299, 79%, 59%) |
| CMYK | cmyk(2%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(36.95, 60.42, -39.06) |
| CIE-LCH | lch(36.95, 71.94, 327.12°) |
| OKLab | oklab(48.3% 0.1672 -0.1085) |
| OKLCH | oklch(48.3% 0.199 327) |
| XYZ | xyz(18.2883, 9.5116, 30.1448) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.25
Warm Purple
#952E8F
ΔE00 2.89
Darkmagenta
#8B008B
ΔE00 3.64
Purple (survey)
#7E1E9C
ΔE00 4.99
Purple
#800080
ΔE00 5.84
Barney
#AC1DB8
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F97 #22971F
analogous
#581F97 #941F97 #971F5E
triadic
#941F97 #97941F #1F9794
tetradic
#941F97 #97581F #22971F #1F5E97
square
#941F97 #97581F #22971F #1F5E97
split-complementary
#941F97 #5E971F #1F9758
monochromatic
#300A31 #621564 #941F97 #C629CA #D954DC
Accessibility & contrast
On white
7.24
#941F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#941F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F97
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F97 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#98355B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #941f97; /* rgb */ color: rgb(148, 31, 151); /* oklch */ color: oklch(48.3% 0.199 327.0);
Tailwind
colors: {
custom: {
50: '#b76ab6',
500: '#941f97',
950: '#000000',
},
}SCSS
$custom: #941f97; $custom-light: #b76ab6; $custom-dark: #000000;
JSON
{
"hex": "#941f97",
"rgb": {
"r": 148,
"g": 31,
"b": 151
},
"hsl": {
"h": 298.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.48295,
"c": 0.1993,
"h": 327
},
"luminance": 0.0951
}Semantic roles & 50–950 ramp
primary
#941F97
secondary
#55BF52
accent
#E93F43
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80