#931C8B#931C8B

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

Color values

HEX#931C8B
RGBrgb(147, 28, 139)
HSLhsl(304, 68%, 34%)
HSVhsv(304, 81%, 58%)
CMYKcmyk(0%, 81%, 5.4%, 42.4%)
CIE-LABlab(35.79, 59.08, -33.56)
CIE-LCHlch(35.79, 67.95, 330.40°)
OKLaboklab(47.21% 0.1687 -0.0926)
OKLCHoklch(47.21% 0.192 331.2)
XYZxyz(17.1081, 8.8991, 25.2377)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C8B #1C9324
analogous
#601C93 #931C8B #931C4F
triadic
#931C8B #8B931C #1C8B93
tetradic
#931C8B #93601C #1C9324 #1C4F93
square
#931C8B #93601C #1C9324 #1C4F93
split-complementary
#931C8B #4F931C #1C9360
monochromatic
#2C082A #60125A #931C8B #C626BC #DD4CD3

Accessibility & contrast

On white

7.56
#931C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#931C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931C8B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931C8B#FFFFFF#000000##FFFFFF
##931C8B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8E
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#992D54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931c8b;
/* rgb */ color: rgb(147, 28, 139);
/* oklch */ color: oklch(47.2% 0.192 331.2);
Tailwind
colors: {
  custom: {
    50: '#b668ad',
    500: '#931c8b',
    950: '#000000',
  },
}
SCSS
$custom: #931c8b;
$custom-light: #b668ad;
$custom-dark: #000000;
JSON
{
  "hex": "#931c8b",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 304.034,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.19247,
    "h": 331.2
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#931C8B
secondary
#4CBF53
accent
#EB493D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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