#931A82#931A82

#931A82 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.188 H 334.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#931A82
RGBrgb(147, 26, 130)
HSLhsl(308, 70%, 34%)
HSVhsv(308, 82%, 58%)
CMYKcmyk(0%, 82.3%, 11.6%, 42.4%)
CIE-LABlab(35.11, 58.22, -29.06)
CIE-LCHlch(35.11, 65.07, 333.48°)
OKLaboklab(46.57% 0.1701 -0.0796)
OKLCHoklch(46.57% 0.188 334.9)
XYZxyz(16.4315, 8.5551, 21.9007)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A82 #1A932B
analogous
#681A93 #931A82 #931A46
triadic
#931A82 #82931A #1A8293
tetradic
#931A82 #93681A #1A932B #1A4693
square
#931A82 #93681A #1A932B #1A4693
split-complementary
#931A82 #46931A #1A9368
monochromatic
#2B0826 #5F1154 #931A82 #C723B0 #DF49CA

Accessibility & contrast

On white

7.75
#931A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#931A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931A82
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A82#FFFFFF#000000##FFFFFF
##931A821.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194785
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#9B264E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #931a82;
/* rgb */ color: rgb(147, 26, 130);
/* oklch */ color: oklch(46.6% 0.188 334.9);
Tailwind
colors: {
  custom: {
    50: '#b767a6',
    500: '#931a82',
    950: '#000000',
  },
}
SCSS
$custom: #931a82;
$custom-light: #b767a6;
$custom-dark: #000000;
JSON
{
  "hex": "#931a82",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 308.43,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.18775,
    "h": 334.9
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#931A82
secondary
#48C059
accent
#ED543B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931A82

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

Preview Lab → · Contrast checker → · Palette generator →

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