#931F87#931F87

#931F87 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.187 H 332.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#931F87
RGBrgb(147, 31, 135)
HSLhsl(306, 65%, 35%)
HSVhsv(306, 79%, 58%)
CMYKcmyk(0%, 78.9%, 8.2%, 42.4%)
CIE-LABlab(35.86, 57.62, -30.99)
CIE-LCHlch(35.86, 65.42, 331.73°)
OKLaboklab(47.19% 0.1662 -0.0852)
OKLCHoklch(47.19% 0.187 332.9)
XYZxyz(16.8959, 8.9337, 23.7515)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F87 #1F932B
analogous
#651F93 #931F87 #931F4D
triadic
#931F87 #87931F #1F8793
tetradic
#931F87 #93651F #1F932B #1F4D93
square
#931F87 #93651F #1F932B #1F4D93
split-complementary
#931F87 #4D931F #1F9365
monochromatic
#2E0A2A #601459 #931F87 #C62AB5 #DA52CC

Accessibility & contrast

On white

7.54
#931F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#931F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F87
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F87#FFFFFF#000000##FFFFFF
##931F871.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9A2C52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931f87;
/* rgb */ color: rgb(147, 31, 135);
/* oklch */ color: oklch(47.2% 0.187 332.9);
Tailwind
colors: {
  custom: {
    50: '#b669aa',
    500: '#931f87',
    950: '#000000',
  },
}
SCSS
$custom: #931f87;
$custom-light: #b669aa;
$custom-dark: #000000;
JSON
{
  "hex": "#931f87",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 306.207,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.18678,
    "h": 332.9
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#931F87
secondary
#50BE5B
accent
#E85140
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931F87

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#931F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva