#931B7E#931B7E

#931B7E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.184 H 336.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#931B7E
RGBrgb(147, 27, 126)
HSLhsl(311, 69%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 81.6%, 14.3%, 42.4%)
CIE-LABlab(34.99, 57.37, -26.75)
CIE-LCHlch(34.99, 63.30, 335.00°)
OKLaboklab(46.41% 0.169 -0.0729)
OKLCHoklch(46.41% 0.184 336.7)
XYZxyz(16.1908, 8.4948, 20.5216)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B7E #1B9330
analogous
#6C1B93 #931B7E #931B42
triadic
#931B7E #7E931B #1B7E93
tetradic
#931B7E #936C1B #1B9330 #1B4293
square
#931B7E #936C1B #1B9330 #1B4293
split-complementary
#931B7E #42931B #1B936C
monochromatic
#2C0825 #5F1252 #931B7E #C724AA #DE4BC4

Accessibility & contrast

On white

7.78
#931B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#931B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931B7E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B7E#FFFFFF#000000##FFFFFF
##931B7E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#4A597B
Tritanopia (blue-blind)
#9B254C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931b7e;
/* rgb */ color: rgb(147, 27, 126);
/* oklch */ color: oklch(46.4% 0.184 336.7);
Tailwind
colors: {
  custom: {
    50: '#b767a3',
    500: '#931b7e',
    950: '#000000',
  },
}
SCSS
$custom: #931b7e;
$custom-light: #b767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#931b7e",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 310.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46412,
    "c": 0.1841,
    "h": 336.7
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#931B7E
secondary
#4AC05F
accent
#EC5B3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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