#931A8B#931A8B

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

Color values

HEX#931A8B
RGBrgb(147, 26, 139)
HSLhsl(304, 70%, 34%)
HSVhsv(304, 82%, 58%)
CMYKcmyk(0%, 82.3%, 5.4%, 42.4%)
CIE-LABlab(35.61, 59.60, -33.85)
CIE-LCHlch(35.61, 68.54, 330.41°)
OKLaboklab(47.08% 0.1702 -0.0934)
OKLCHoklch(47.08% 0.194 331.2)
XYZxyz(17.0622, 8.8073, 25.2225)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A8B #1A9322
analogous
#5F1A93 #931A8B #931A4F
triadic
#931A8B #8B931A #1A8B93
tetradic
#931A8B #935F1A #1A9322 #1A4F93
square
#931A8B #935F1A #1A9322 #1A4F93
split-complementary
#931A8B #4F931A #1A935F
monochromatic
#2B0829 #5F115A #931A8B #C723BC #DF49D5

Accessibility & contrast

On white

7.61
#931A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931A8B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A8B#FFFFFF#000000##FFFFFF
##931A8B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#445988
Tritanopia (blue-blind)
#992C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931a8b;
/* rgb */ color: rgb(147, 26, 139);
/* oklch */ color: oklch(47.1% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#b768ad',
    500: '#931a8b',
    950: '#000000',
  },
}
SCSS
$custom: #931a8b;
$custom-light: #b768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#931a8b",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 303.967,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.19417,
    "h": 331.2
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#931A8B
secondary
#48C050
accent
#ED473B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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