#931F94#931F94
#931F94 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.197 H 327.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #931F94 |
|---|---|
| RGB | rgb(147, 31, 148) |
| HSL | hsl(299, 65%, 35%) |
| HSV | hsv(299, 79%, 58%) |
| CMYK | cmyk(0.7%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(36.60, 59.71, -37.80) |
| CIE-LCH | lch(36.60, 70.67, 327.66°) |
| OKLab | oklab(47.95% 0.1662 -0.1049) |
| OKLCH | oklch(47.95% 0.197 327.7) |
| XYZ | xyz(17.8677, 9.3225, 28.8696) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.32
Warm Purple
#952E8F
ΔE00 2.69
Darkmagenta
#8B008B
ΔE00 3.36
Purple (survey)
#7E1E9C
ΔE00 5.12
Purple
#800080
ΔE00 5.50
Barney
#AC1DB8
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931F94 #20941F
analogous
#581F94 #931F94 #941F5B
triadic
#931F94 #94931F #1F9493
tetradic
#931F94 #94581F #20941F #1F5B94
square
#931F94 #94581F #20941F #1F5B94
split-complementary
#931F94 #5B941F #1F9458
monochromatic
#2E0A2F #611461 #931F94 #C52AC7 #DA53DB
Accessibility & contrast
On white
7.33
#931F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#931F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931F94
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931F94 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#983359
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #931f94; /* rgb */ color: rgb(147, 31, 148); /* oklch */ color: oklch(48.0% 0.197 327.7);
Tailwind
colors: {
custom: {
50: '#b66ab4',
500: '#931f94',
950: '#000000',
},
}SCSS
$custom: #931f94; $custom-light: #b66ab4; $custom-dark: #000000;
JSON
{
"hex": "#931f94",
"rgb": {
"r": 147,
"g": 31,
"b": 148
},
"hsl": {
"h": 299.487,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.47954,
"c": 0.19654,
"h": 327.7
},
"luminance": 0.09321
}Semantic roles & 50–950 ramp
primary
#931F94
secondary
#52BE51
accent
#E83F41
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80