#931E9D#931E9D

#931E9D is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.204 H 324.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#931E9D
RGBrgb(147, 30, 157)
HSLhsl(295, 68%, 37%)
HSVhsv(295, 81%, 62%)
CMYKcmyk(6.4%, 80.9%, 0%, 38.4%)
CIE-LABlab(37.05, 61.51, -42.54)
CIE-LCHlch(37.05, 74.79, 325.33°)
OKLaboklab(48.45% 0.1664 -0.1187)
OKLCHoklch(48.45% 0.204 324.5)
XYZxyz(18.5822, 9.5671, 32.7597)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931E9D #289D1E
analogous
#541E9D #931E9D #9D1E68
triadic
#931E9D #9D931E #1E9D93
tetradic
#931E9D #9D541E #289D1E #1E689D
square
#931E9D #9D541E #289D1E #1E689D
split-complementary
#931E9D #689D1E #1E9D54
monochromatic
#330A36 #63146A #931E9D #C328D0 #D457DF

Accessibility & contrast

On white

7.21
#931E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#931E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931E9D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931E9D#FFFFFF#000000##FFFFFF
##931E9D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#96385E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #931e9d;
/* rgb */ color: rgb(147, 30, 157);
/* oklch */ color: oklch(48.5% 0.204 324.5);
Tailwind
colors: {
  custom: {
    50: '#b76aba',
    500: '#931e9d',
    950: '#000000',
  },
}
SCSS
$custom: #931e9d;
$custom-light: #b76aba;
$custom-dark: #000000;
JSON
{
  "hex": "#931e9d",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 295.276,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.20441,
    "h": 324.5
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#931E9D
secondary
#5DC254
accent
#EB3D4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #931E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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