#931E7B#931E7B

#931E7B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.179 H 338.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#931E7B
RGBrgb(147, 30, 123)
HSLhsl(312, 66%, 35%)
HSVhsv(312, 80%, 58%)
CMYKcmyk(0%, 79.6%, 16.3%, 42.4%)
CIE-LABlab(35.13, 56.11, -24.66)
CIE-LCHlch(35.13, 61.29, 336.27°)
OKLaboklab(46.46% 0.1663 -0.067)
OKLCHoklch(46.46% 0.179 338.1)
XYZxyz(16.0724, 8.5632, 19.5415)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931E7B #1E9336
analogous
#711E93 #931E7B #931E40
triadic
#931E7B #7B931E #1E7B93
tetradic
#931E7B #93711E #1E9336 #1E4093
square
#931E7B #93711E #1E9336 #1E4093
split-complementary
#931E7B #40931E #1E9371
monochromatic
#2D0926 #601450 #931E7B #C628A6 #DB50BF

Accessibility & contrast

On white

7.74
#931E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#931E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931E7B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931E7B#FFFFFF#000000##FFFFFF
##931E7B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#4C5978
Tritanopia (blue-blind)
#9B254B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #931e7b;
/* rgb */ color: rgb(147, 30, 123);
/* oklch */ color: oklch(46.5% 0.179 338.1);
Tailwind
colors: {
  custom: {
    50: '#b668a1',
    500: '#931e7b',
    950: '#000000',
  },
}
SCSS
$custom: #931e7b;
$custom-light: #b668a1;
$custom-dark: #000000;
JSON
{
  "hex": "#931e7b",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 312.308,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.17926,
    "h": 338.1
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#931E7B
secondary
#4FBE65
accent
#E9623F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #931E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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