#941F96#941F96
#941F96 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 327.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #941F96 |
|---|---|
| RGB | rgb(148, 31, 150) |
| HSL | hsl(299, 66%, 35%) |
| HSV | hsv(299, 79%, 59%) |
| CMYK | cmyk(1.3%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.89, 60.25, -38.54) |
| CIE-LCH | lch(36.89, 71.53, 327.39°) |
| OKLab | oklab(48.23% 0.1672 -0.1071) |
| OKLCH | oklch(48.23% 0.199 327.4) |
| XYZ | xyz(18.2075, 9.4792, 29.7189) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.21
Warm Purple
#952E8F
ΔE00 2.77
Darkmagenta
#8B008B
ΔE00 3.58
Purple (survey)
#7E1E9C
ΔE00 5.10
Purple
#800080
ΔE00 5.77
Barney
#AC1DB8
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F96 #21961F
analogous
#591F96 #941F96 #961F5C
triadic
#941F96 #96941F #1F9694
tetradic
#941F96 #96591F #21961F #1F5C96
square
#941F96 #96591F #21961F #1F5C96
split-complementary
#941F96 #5C961F #1F9659
monochromatic
#300A31 #621563 #941F96 #C629C9 #D954DC
Accessibility & contrast
On white
7.25
#941F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#941F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F96
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F96 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#98345B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #941f96; /* rgb */ color: rgb(148, 31, 150); /* oklch */ color: oklch(48.2% 0.199 327.4);
Tailwind
colors: {
custom: {
50: '#b76ab5',
500: '#941f96',
950: '#000000',
},
}SCSS
$custom: #941f96; $custom-light: #b76ab5; $custom-dark: #000000;
JSON
{
"hex": "#941f96",
"rgb": {
"r": 148,
"g": 31,
"b": 150
},
"hsl": {
"h": 298.992,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.48233,
"c": 0.19853,
"h": 327.4
},
"luminance": 0.09478
}Semantic roles & 50–950 ramp
primary
#941F96
secondary
#54BF52
accent
#E93F42
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80