#931986#931986

#931986 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.191 H 333.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#931986
RGBrgb(147, 25, 134)
HSLhsl(306, 71%, 34%)
HSVhsv(306, 83%, 58%)
CMYKcmyk(0%, 83%, 8.8%, 42.4%)
CIE-LABlab(35.24, 59.07, -31.33)
CIE-LCHlch(35.24, 66.87, 332.06°)
OKLaboklab(46.73% 0.1709 -0.0861)
OKLCHoklch(46.73% 0.191 333.3)
XYZxyz(16.6835, 8.6210, 23.3350)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931986 #199326
analogous
#631993 #931986 #931949
triadic
#931986 #869319 #198693
tetradic
#931986 #936319 #199326 #194993
square
#931986 #936319 #199326 #194993
split-complementary
#931986 #499319 #199363
monochromatic
#2A0727 #5F1056 #931986 #C722B6 #E047CF

Accessibility & contrast

On white

7.71
#931986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#931986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931986
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931986#FFFFFF#000000##FFFFFF
##9319861.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#9A2850
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #931986;
/* rgb */ color: rgb(147, 25, 134);
/* oklch */ color: oklch(46.7% 0.191 333.3);
Tailwind
colors: {
  custom: {
    50: '#b767a9',
    500: '#931986',
    950: '#000000',
  },
}
SCSS
$custom: #931986;
$custom-light: #b767a9;
$custom-dark: #000000;
JSON
{
  "hex": "#931986",
  "rgb": {
    "r": 147,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 306.393,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.19139,
    "h": 333.3
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#931986
secondary
#47C154
accent
#EE4D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931986

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

Preview Lab → · Contrast checker → · Palette generator →

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