#961791#961791

#961791 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.8% C 0.202 H 330.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#961791
RGBrgb(150, 23, 145)
HSLhsl(302, 73%, 34%)
HSVhsv(302, 85%, 59%)
CMYKcmyk(0%, 84.7%, 3.3%, 41.2%)
CIE-LABlab(36.26, 61.86, -36.47)
CIE-LCHlch(36.26, 71.81, 329.47°)
OKLaboklab(47.76% 0.1752 -0.1009)
OKLCHoklch(47.76% 0.202 330.1)
XYZxyz(17.9948, 9.1426, 27.5995)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961791 #17961C
analogous
#5C1796 #961791 #961752
triadic
#961791 #919617 #179196
tetradic
#961791 #965C17 #17961C #175296
square
#961791 #965C17 #17961C #175296
split-complementary
#961791 #529617 #17965C
monochromatic
#2C072A #610F5E #961791 #CB1FC4 #E245DC

Accessibility & contrast

On white

7.43
#961791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#961791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961791
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961791#FFFFFF#000000##FFFFFF
##9617911.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#425B8E
Tritanopia (blue-blind)
#9C2D56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #961791;
/* rgb */ color: rgb(150, 23, 145);
/* oklch */ color: oklch(47.8% 0.202 330.1);
Tailwind
colors: {
  custom: {
    50: '#b968b2',
    500: '#961791',
    950: '#000000',
  },
}
SCSS
$custom: #961791;
$custom-light: #b968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#961791",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 145
  },
  "hsl": {
    "h": 302.362,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47755,
    "c": 0.20222,
    "h": 330.1
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#961791
secondary
#45C34A
accent
#F03F38
background
#FBF6FB
surface
#F7EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #961791

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

Preview Lab → · Contrast checker → · Palette generator →

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