#931A7B#931A7B

#931A7B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.183 H 338.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#931A7B
RGBrgb(147, 26, 123)
HSLhsl(312, 70%, 34%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 82.3%, 16.3%, 42.4%)
CIE-LABlab(34.75, 57.20, -25.25)
CIE-LCHlch(34.75, 62.53, 336.18°)
OKLaboklab(46.19% 0.1696 -0.0687)
OKLCHoklch(46.19% 0.183 338)
XYZxyz(15.9776, 8.3735, 19.5098)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A7B #1A9332
analogous
#6F1A93 #931A7B #931A3F
triadic
#931A7B #7B931A #1A7B93
tetradic
#931A7B #936F1A #1A9332 #1A3F93
square
#931A7B #936F1A #1A9332 #1A3F93
split-complementary
#931A7B #3F931A #1A936F
monochromatic
#2B0824 #5F114F #931A7B #C723A7 #DF49C1

Accessibility & contrast

On white

7.85
#931A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#931A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931A7B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A7B#FFFFFF#000000##FFFFFF
##931A7B1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#9C224A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931a7b;
/* rgb */ color: rgb(147, 26, 123);
/* oklch */ color: oklch(46.2% 0.183 338.0);
Tailwind
colors: {
  custom: {
    50: '#b767a1',
    500: '#931a7b',
    950: '#000000',
  },
}
SCSS
$custom: #931a7b;
$custom-light: #b767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#931a7b",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 311.901,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.18294,
    "h": 338
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#931A7B
secondary
#48C060
accent
#ED5E3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #931A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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