#931A7C#931A7C

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

Color values

HEX#931A7C
RGBrgb(147, 26, 124)
HSLhsl(311, 70%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 82.3%, 15.6%, 42.4%)
CIE-LABlab(34.80, 57.35, -25.80)
CIE-LCHlch(34.80, 62.88, 335.78°)
OKLaboklab(46.24% 0.1697 -0.0702)
OKLCHoklch(46.24% 0.184 337.5)
XYZxyz(16.0405, 8.3986, 19.8412)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A7C #1A9331
analogous
#6E1A93 #931A7C #931A40
triadic
#931A7C #7C931A #1A7C93
tetradic
#931A7C #936E1A #1A9331 #1A4093
square
#931A7C #936E1A #1A9331 #1A4093
split-complementary
#931A7C #40931A #1A936E
monochromatic
#2B0824 #5F1150 #931A7C #C723A8 #DF49C2

Accessibility & contrast

On white

7.84
#931A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931A7C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A7C#FFFFFF#000000##FFFFFF
##931A7C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931a7c;
/* rgb */ color: rgb(147, 26, 124);
/* oklch */ color: oklch(46.2% 0.184 337.5);
Tailwind
colors: {
  custom: {
    50: '#b767a2',
    500: '#931a7c',
    950: '#000000',
  },
}
SCSS
$custom: #931a7c;
$custom-light: #b767a2;
$custom-dark: #000000;
JSON
{
  "hex": "#931a7c",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 311.405,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.18362,
    "h": 337.5
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#931A7C
secondary
#48C05F
accent
#ED5D3B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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