#931F98#931F98
#931F98 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.200 H 326.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #931F98 |
|---|---|
| RGB | rgb(147, 31, 152) |
| HSL | hsl(298, 66%, 36%) |
| HSV | hsv(298, 80%, 60%) |
| CMYK | cmyk(3.3%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(36.84, 60.38, -39.85) |
| CIE-LCH | lch(36.84, 72.35, 326.57°) |
| OKLab | oklab(48.2% 0.166 -0.1109) |
| OKLCH | oklch(48.2% 0.2 326.3) |
| XYZ | xyz(18.1898, 9.4513, 30.5659) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.46
Warm Purple
#952E8F
ΔE00 3.14
Darkmagenta
#8B008B
ΔE00 3.60
Purple (survey)
#7E1E9C
ΔE00 4.69
Purple
#800080
ΔE00 5.80
Barney
#AC1DB8
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931F98 #24981F
analogous
#561F98 #931F98 #981F60
triadic
#931F98 #98931F #1F9893
tetradic
#931F98 #98561F #24981F #1F6098
square
#931F98 #98561F #24981F #1F6098
split-complementary
#931F98 #60981F #1F9856
monochromatic
#310A32 #621565 #931F98 #C429CB #D755DC
Accessibility & contrast
On white
7.27
#931F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#931F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931F98
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931F98 | 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)
#004E9B
Deuteranopia (green-blind)
#3D5C95
Tritanopia (blue-blind)
#97355C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #931f98; /* rgb */ color: rgb(147, 31, 152); /* oklch */ color: oklch(48.2% 0.200 326.3);
Tailwind
colors: {
custom: {
50: '#b76ab7',
500: '#931f98',
950: '#000000',
},
}SCSS
$custom: #931f98; $custom-light: #b76ab7; $custom-dark: #000000;
JSON
{
"hex": "#931f98",
"rgb": {
"r": 147,
"g": 31,
"b": 152
},
"hsl": {
"h": 297.521,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.48202,
"c": 0.19963,
"h": 326.3
},
"luminance": 0.0945
}Semantic roles & 50–950 ramp
primary
#931F98
secondary
#57C053
accent
#E93F46
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80