#961786#961786

#961786 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.194 H 334.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#961786
RGBrgb(150, 23, 134)
HSLhsl(308, 73%, 34%)
HSVhsv(308, 85%, 59%)
CMYKcmyk(0%, 84.7%, 10.7%, 41.2%)
CIE-LABlab(35.63, 60.18, -30.68)
CIE-LCHlch(35.63, 67.55, 332.99°)
OKLaboklab(47.11% 0.1753 -0.0842)
OKLCHoklch(47.11% 0.194 334.3)
XYZxyz(17.1874, 8.8196, 23.3468)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961786 #179627
analogous
#671796 #961786 #961747
triadic
#961786 #869617 #178696
tetradic
#961786 #966717 #179627 #174796
square
#961786 #966717 #179627 #174796
split-complementary
#961786 #479617 #179667
monochromatic
#2C0727 #610F57 #961786 #CB1FB5 #E245CF

Accessibility & contrast

On white

7.60
#961786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#961786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961786
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961786#FFFFFF#000000##FFFFFF
##9617861.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#9E2650
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #961786;
/* rgb */ color: rgb(150, 23, 134);
/* oklch */ color: oklch(47.1% 0.194 334.3);
Tailwind
colors: {
  custom: {
    50: '#b967a9',
    500: '#961786',
    950: '#000000',
  },
}
SCSS
$custom: #961786;
$custom-light: #b967a9;
$custom-dark: #000000;
JSON
{
  "hex": "#961786",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 307.559,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.19444,
    "h": 334.3
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#961786
secondary
#45C355
accent
#F04F38
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #961786

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

Preview Lab → · Contrast checker → · Palette generator →

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