#931786#931786

#931786 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.193 H 333.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#931786
RGBrgb(147, 23, 134)
HSLhsl(306, 73%, 33%)
HSVhsv(306, 84%, 58%)
CMYKcmyk(0%, 84.4%, 8.8%, 42.4%)
CIE-LABlab(35.08, 59.55, -31.59)
CIE-LCHlch(35.08, 67.41, 332.05°)
OKLaboklab(46.61% 0.1723 -0.0869)
OKLCHoklch(46.61% 0.193 333.2)
XYZxyz(16.6422, 8.5386, 23.3213)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931786 #179324
analogous
#621793 #931786 #931748
triadic
#931786 #869317 #178693
tetradic
#931786 #936217 #179324 #174893
square
#931786 #936217 #179324 #174893
split-complementary
#931786 #489317 #179362
monochromatic
#290626 #5E0F56 #931786 #C81FB6 #E243D1

Accessibility & contrast

On white

7.76
#931786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#931786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931786
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931786#FFFFFF#000000##FFFFFF
##9317861.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#455983
Tritanopia (blue-blind)
#9A2750
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931786;
/* rgb */ color: rgb(147, 23, 134);
/* oklch */ color: oklch(46.6% 0.193 333.2);
Tailwind
colors: {
  custom: {
    50: '#b766a9',
    500: '#931786',
    950: '#000000',
  },
}
SCSS
$custom: #931786;
$custom-light: #b766a9;
$custom-dark: #000000;
JSON
{
  "hex": "#931786",
  "rgb": {
    "r": 147,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 306.29,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.19297,
    "h": 333.2
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#931786
secondary
#44C251
accent
#F04B38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931786

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

Preview Lab → · Contrast checker → · Palette generator →

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