#931B7B#931B7B

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

Color values

HEX#931B7B
RGBrgb(147, 27, 123)
HSLhsl(312, 69%, 34%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 81.6%, 16.3%, 42.4%)
CIE-LABlab(34.84, 56.94, -25.11)
CIE-LCHlch(34.84, 62.23, 336.20°)
OKLaboklab(46.25% 0.1688 -0.0683)
OKLCHoklch(46.25% 0.182 338)
XYZxyz(16.0001, 8.4185, 19.5174)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B7B #1B9333
analogous
#6F1B93 #931B7B #931B3F
triadic
#931B7B #7B931B #1B7B93
tetradic
#931B7B #936F1B #1B9333 #1B3F93
square
#931B7B #936F1B #1B9333 #1B3F93
split-complementary
#931B7B #3F931B #1B936F
monochromatic
#2C0824 #5F1250 #931B7B #C724A6 #DE4BC0

Accessibility & contrast

On white

7.83
#931B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931B7B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B7B#FFFFFF#000000##FFFFFF
##931B7B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#4C5878
Tritanopia (blue-blind)
#9B234A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931b7b;
/* rgb */ color: rgb(147, 27, 123);
/* oklch */ color: oklch(46.3% 0.182 338.0);
Tailwind
colors: {
  custom: {
    50: '#b767a1',
    500: '#931b7b',
    950: '#000000',
  },
}
SCSS
$custom: #931b7b;
$custom-light: #b767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#931b7b",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 312,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.18206,
    "h": 338
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#931B7B
secondary
#4AC062
accent
#EC5F3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #931B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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