#931A7F#931A7F

#931A7F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.186 H 336.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#931A7F
RGBrgb(147, 26, 127)
HSLhsl(310, 70%, 34%)
HSVhsv(310, 82%, 58%)
CMYKcmyk(0%, 82.3%, 13.6%, 42.4%)
CIE-LABlab(34.95, 57.78, -27.44)
CIE-LCHlch(34.95, 63.96, 334.60°)
OKLaboklab(46.4% 0.1699 -0.0749)
OKLCHoklch(46.4% 0.186 336.2)
XYZxyz(16.2331, 8.4757, 20.8556)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A7F #1A932E
analogous
#6B1A93 #931A7F #931A43
triadic
#931A7F #7F931A #1A7F93
tetradic
#931A7F #936B1A #1A932E #1A4393
square
#931A7F #936B1A #1A932E #1A4393
split-complementary
#931A7F #43931A #1A936B
monochromatic
#2B0825 #5F1152 #931A7F #C723AC #DF49C6

Accessibility & contrast

On white

7.79
#931A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931A7F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A7F#FFFFFF#000000##FFFFFF
##931A7F1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931a7f;
/* rgb */ color: rgb(147, 26, 127);
/* oklch */ color: oklch(46.4% 0.186 336.2);
Tailwind
colors: {
  custom: {
    50: '#b767a4',
    500: '#931a7f',
    950: '#000000',
  },
}
SCSS
$custom: #931a7f;
$custom-light: #b767a4;
$custom-dark: #000000;
JSON
{
  "hex": "#931a7f",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 309.917,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.18566,
    "h": 336.2
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#931A7F
secondary
#48C05C
accent
#ED583B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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