#931A7E#931A7E

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

Color values

HEX#931A7E
RGBrgb(147, 26, 126)
HSLhsl(310, 70%, 34%)
HSVhsv(310, 82%, 58%)
CMYKcmyk(0%, 82.3%, 14.3%, 42.4%)
CIE-LABlab(34.90, 57.63, -26.89)
CIE-LCHlch(34.90, 63.60, 334.99°)
OKLaboklab(46.35% 0.1698 -0.0733)
OKLCHoklch(46.35% 0.185 336.6)
XYZxyz(16.1682, 8.4497, 20.5141)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A7E #1A932F
analogous
#6C1A93 #931A7E #931A42
triadic
#931A7E #7E931A #1A7E93
tetradic
#931A7E #936C1A #1A932F #1A4293
square
#931A7E #936C1A #1A932F #1A4293
split-complementary
#931A7E #42931A #1A936C
monochromatic
#2B0825 #5F1151 #931A7E #C723AB #DF49C5

Accessibility & contrast

On white

7.81
#931A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#931A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931A7E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A7E#FFFFFF#000000##FFFFFF
##931A7E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#9B244C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931a7e;
/* rgb */ color: rgb(147, 26, 126);
/* oklch */ color: oklch(46.3% 0.185 336.6);
Tailwind
colors: {
  custom: {
    50: '#b767a3',
    500: '#931a7e',
    950: '#000000',
  },
}
SCSS
$custom: #931a7e;
$custom-light: #b767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#931a7e",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 310.413,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.18497,
    "h": 336.6
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#931A7E
secondary
#48C05D
accent
#ED5A3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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