#931B8D#931B8D

#931B8D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.195 H 330.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#931B8D
RGBrgb(147, 27, 141)
HSLhsl(303, 69%, 34%)
HSVhsv(303, 82%, 58%)
CMYKcmyk(0%, 81.6%, 4.1%, 42.4%)
CIE-LABlab(35.81, 59.66, -34.76)
CIE-LCHlch(35.81, 69.04, 329.77°)
OKLaboklab(47.26% 0.1695 -0.096)
OKLCHoklch(47.26% 0.195 330.5)
XYZxyz(17.2322, 8.9114, 26.0066)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B8D #1B9321
analogous
#5D1B93 #931B8D #931B51
triadic
#931B8D #8D931B #1B8D93
tetradic
#931B8D #935D1B #1B9321 #1B5193
square
#931B8D #935D1B #1B9321 #1B5193
split-complementary
#931B8D #51931B #1B935D
monochromatic
#2C082A #5F125B #931B8D #C724BF #DE4BD6

Accessibility & contrast

On white

7.55
#931B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931B8D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B8D#FFFFFF#000000##FFFFFF
##931B8D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#992D55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931b8d;
/* rgb */ color: rgb(147, 27, 141);
/* oklch */ color: oklch(47.3% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#b768af',
    500: '#931b8d',
    950: '#000000',
  },
}
SCSS
$custom: #931b8d;
$custom-light: #b768af;
$custom-dark: #000000;
JSON
{
  "hex": "#931b8d",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 303,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.1948,
    "h": 330.5
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#931B8D
secondary
#4AC050
accent
#EC453C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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