#931F8A#931F8A

#931F8A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.189 H 331.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#931F8A
RGBrgb(147, 31, 138)
HSLhsl(305, 65%, 35%)
HSVhsv(305, 79%, 58%)
CMYKcmyk(0%, 78.9%, 6.1%, 42.4%)
CIE-LABlab(36.02, 58.09, -32.58)
CIE-LCHlch(36.02, 66.60, 330.71°)
OKLaboklab(47.36% 0.1663 -0.0898)
OKLCHoklch(47.36% 0.189 331.6)
XYZxyz(17.1101, 9.0194, 24.8796)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F8A #1F9328
analogous
#621F93 #931F8A #931F50
triadic
#931F8A #8A931F #1F8A93
tetradic
#931F8A #93621F #1F9328 #1F5093
square
#931F8A #93621F #1F9328 #1F5093
split-complementary
#931F8A #50931F #1F9362
monochromatic
#2E0A2B #60145B #931F8A #C62AB9 #DA52D0

Accessibility & contrast

On white

7.49
#931F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#931F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F8A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F8A#FFFFFF#000000##FFFFFF
##931F8A1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8D
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#992E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931f8a;
/* rgb */ color: rgb(147, 31, 138);
/* oklch */ color: oklch(47.4% 0.189 331.6);
Tailwind
colors: {
  custom: {
    50: '#b669ac',
    500: '#931f8a',
    950: '#000000',
  },
}
SCSS
$custom: #931f8a;
$custom-light: #b669ac;
$custom-dark: #000000;
JSON
{
  "hex": "#931f8a",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 304.655,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.18898,
    "h": 331.6
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#931F8A
secondary
#50BE59
accent
#E84D40
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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