#931F8B#931F8B

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

Color values

HEX#931F8B
RGBrgb(147, 31, 139)
HSLhsl(304, 65%, 35%)
HSVhsv(304, 79%, 58%)
CMYKcmyk(0%, 78.9%, 5.4%, 42.4%)
CIE-LABlab(36.08, 58.25, -33.11)
CIE-LCHlch(36.08, 67.00, 330.39°)
OKLaboklab(47.42% 0.1663 -0.0913)
OKLCHoklch(47.42% 0.19 331.2)
XYZxyz(17.1828, 9.0485, 25.2626)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F8B #1F9327
analogous
#611F93 #931F8B #931F51
triadic
#931F8B #8B931F #1F8B93
tetradic
#931F8B #93611F #1F9327 #1F5193
square
#931F8B #93611F #1F9327 #1F5193
split-complementary
#931F8B #51931F #1F9361
monochromatic
#2E0A2B #60145B #931F8B #C62ABB #DA52D1

Accessibility & contrast

On white

7.47
#931F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#931F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F8B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F8B#FFFFFF#000000##FFFFFF
##931F8B1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#992F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931f8b;
/* rgb */ color: rgb(147, 31, 139);
/* oklch */ color: oklch(47.4% 0.190 331.2);
Tailwind
colors: {
  custom: {
    50: '#b669ad',
    500: '#931f8b',
    950: '#000000',
  },
}
SCSS
$custom: #931f8b;
$custom-light: #b669ad;
$custom-dark: #000000;
JSON
{
  "hex": "#931f8b",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 304.138,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.18973,
    "h": 331.2
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#931F8B
secondary
#50BE58
accent
#E84B40
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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