#931F96#931F96
#931F96 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 327.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #931F96 |
|---|---|
| RGB | rgb(147, 31, 150) |
| HSL | hsl(298, 66%, 35%) |
| HSV | hsv(298, 79%, 59%) |
| CMYK | cmyk(2%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.72, 60.05, -38.83) |
| CIE-LCH | lch(36.72, 71.51, 327.11°) |
| OKLab | oklab(48.08% 0.1661 -0.1079) |
| OKLCH | oklch(48.08% 0.198 327) |
| XYZ | xyz(18.0273, 9.3863, 29.7105) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.37
Warm Purple
#952E8F
ΔE00 2.90
Darkmagenta
#8B008B
ΔE00 3.46
Purple (survey)
#7E1E9C
ΔE00 4.89
Purple
#800080
ΔE00 5.64
Barney
#AC1DB8
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931F96 #22961F
analogous
#571F96 #931F96 #961F5E
triadic
#931F96 #96931F #1F9693
tetradic
#931F96 #96571F #22961F #1F5E96
square
#931F96 #96571F #22961F #1F5E96
split-complementary
#931F96 #5E961F #1F9657
monochromatic
#300A31 #611563 #931F96 #C529C9 #D854DC
Accessibility & contrast
On white
7.30
#931F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#931F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931F96
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931F96 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3F5B93
Tritanopia (blue-blind)
#97345B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #931f96; /* rgb */ color: rgb(147, 31, 150); /* oklch */ color: oklch(48.1% 0.198 327.0);
Tailwind
colors: {
custom: {
50: '#b66ab5',
500: '#931f96',
950: '#000000',
},
}SCSS
$custom: #931f96; $custom-light: #b66ab5; $custom-dark: #000000;
JSON
{
"hex": "#931f96",
"rgb": {
"r": 147,
"g": 31,
"b": 150
},
"hsl": {
"h": 298.487,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.48077,
"c": 0.19808,
"h": 327
},
"luminance": 0.09385
}Semantic roles & 50–950 ramp
primary
#931F96
secondary
#55BF52
accent
#E93F43
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80