#941F95#941F95
#941F95 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.2% C 0.198 H 327.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #941F95 |
|---|---|
| RGB | rgb(148, 31, 149) |
| HSL | hsl(299, 66%, 35%) |
| HSV | hsv(299, 79%, 58%) |
| CMYK | cmyk(0.7%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(36.83, 60.09, -38.03) |
| CIE-LCH | lch(36.83, 71.11, 327.67°) |
| OKLab | oklab(48.17% 0.1672 -0.1056) |
| OKLCH | oklch(48.17% 0.198 327.7) |
| XYZ | xyz(18.1273, 9.4471, 29.2967) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.19
Warm Purple
#952E8F
ΔE00 2.66
Darkmagenta
#8B008B
ΔE00 3.53
Purple (survey)
#7E1E9C
ΔE00 5.21
Purple
#800080
ΔE00 5.70
Barney
#AC1DB8
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F95 #20951F
analogous
#591F95 #941F95 #951F5B
triadic
#941F95 #95941F #1F9594
tetradic
#941F95 #95591F #20951F #1F5B95
square
#941F95 #95591F #20951F #1F5B95
split-complementary
#941F95 #5B951F #1F9559
monochromatic
#2F0A30 #621462 #941F95 #C62AC8 #DA53DB
Accessibility & contrast
On white
7.27
#941F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#941F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F95
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F95 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#99345A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #941f95; /* rgb */ color: rgb(148, 31, 149); /* oklch */ color: oklch(48.2% 0.198 327.7);
Tailwind
colors: {
custom: {
50: '#b76ab5',
500: '#941f95',
950: '#000000',
},
}SCSS
$custom: #941f95; $custom-light: #b76ab5; $custom-dark: #000000;
JSON
{
"hex": "#941f95",
"rgb": {
"r": 148,
"g": 31,
"b": 149
},
"hsl": {
"h": 299.492,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.48172,
"c": 0.19777,
"h": 327.7
},
"luminance": 0.09446
}Semantic roles & 50–950 ramp
primary
#941F95
secondary
#52BF51
accent
#E93F41
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80