#931782#931782

#931782 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.190 H 334.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#931782
RGBrgb(147, 23, 130)
HSLhsl(308, 73%, 33%)
HSVhsv(308, 84%, 58%)
CMYKcmyk(0%, 84.4%, 11.6%, 42.4%)
CIE-LABlab(34.86, 58.95, -29.45)
CIE-LCHlch(34.86, 65.90, 333.45°)
OKLaboklab(46.39% 0.1722 -0.0807)
OKLCHoklch(46.39% 0.19 334.9)
XYZxyz(16.3685, 8.4291, 21.8797)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931782 #179328
analogous
#661793 #931782 #931744
triadic
#931782 #829317 #178293
tetradic
#931782 #936617 #179328 #174493
square
#931782 #936617 #179328 #174493
split-complementary
#931782 #449317 #179366
monochromatic
#290624 #5E0F53 #931782 #C81FB1 #E243CC

Accessibility & contrast

On white

7.82
#931782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#931782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931782
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931782#FFFFFF#000000##FFFFFF
##9317821.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#9B244D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931782;
/* rgb */ color: rgb(147, 23, 130);
/* oklch */ color: oklch(46.4% 0.190 334.9);
Tailwind
colors: {
  custom: {
    50: '#b766a6',
    500: '#931782',
    950: '#000000',
  },
}
SCSS
$custom: #931782;
$custom-light: #b766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#931782",
  "rgb": {
    "r": 147,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 308.226,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.19018,
    "h": 334.9
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#931782
secondary
#44C255
accent
#F05138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931782

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

Preview Lab → · Contrast checker → · Palette generator →

#931782 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva