#931A7D#931A7D

#931A7D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.3% C 0.184 H 337.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#931A7D
RGBrgb(147, 26, 125)
HSLhsl(311, 70%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 82.3%, 15%, 42.4%)
CIE-LABlab(34.85, 57.49, -26.35)
CIE-LCHlch(34.85, 63.24, 335.38°)
OKLaboklab(46.29% 0.1697 -0.0718)
OKLCHoklch(46.29% 0.184 337.1)
XYZxyz(16.1040, 8.4241, 20.1759)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A7D #1A9330
analogous
#6D1A93 #931A7D #931A41
triadic
#931A7D #7D931A #1A7D93
tetradic
#931A7D #936D1A #1A9330 #1A4193
square
#931A7D #936D1A #1A9330 #1A4193
split-complementary
#931A7D #41931A #1A936D
monochromatic
#2B0825 #5F1151 #931A7D #C723A9 #DF49C3

Accessibility & contrast

On white

7.82
#931A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#931A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931A7D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A7D#FFFFFF#000000##FFFFFF
##931A7D1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4680
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#9B234B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931a7d;
/* rgb */ color: rgb(147, 26, 125);
/* oklch */ color: oklch(46.3% 0.184 337.1);
Tailwind
colors: {
  custom: {
    50: '#b767a3',
    500: '#931a7d',
    950: '#000000',
  },
}
SCSS
$custom: #931a7d;
$custom-light: #b767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#931a7d",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 310.909,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.1843,
    "h": 337.1
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#931A7D
secondary
#48C05E
accent
#ED5B3B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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