#931B8A#931B8A

#931B8A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.193 H 331.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#931B8A
RGBrgb(147, 27, 138)
HSLhsl(305, 69%, 34%)
HSVhsv(305, 82%, 58%)
CMYKcmyk(0%, 81.6%, 6.1%, 42.4%)
CIE-LABlab(35.64, 59.19, -33.18)
CIE-LCHlch(35.64, 67.85, 330.72°)
OKLaboklab(47.09% 0.1695 -0.0915)
OKLCHoklch(47.09% 0.193 331.6)
XYZxyz(17.0120, 8.8233, 24.8469)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B8A #1B9324
analogous
#601B93 #931B8A #931B4E
triadic
#931B8A #8A931B #1B8A93
tetradic
#931B8A #93601B #1B9324 #1B4E93
square
#931B8A #93601B #1B9324 #1B4E93
split-complementary
#931B8A #4E931B #1B9360
monochromatic
#2C0829 #5F1259 #931B8A #C724BB #DE4BD3

Accessibility & contrast

On white

7.60
#931B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#931B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931B8A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B8A#FFFFFF#000000##FFFFFF
##931B8A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#992C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931b8a;
/* rgb */ color: rgb(147, 27, 138);
/* oklch */ color: oklch(47.1% 0.193 331.6);
Tailwind
colors: {
  custom: {
    50: '#b768ac',
    500: '#931b8a',
    950: '#000000',
  },
}
SCSS
$custom: #931b8a;
$custom-light: #b768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#931b8a",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 304.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.1926,
    "h": 331.6
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#931B8A
secondary
#4AC053
accent
#EC493C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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