#961788#961788

#961788 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.196 H 333.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#961788
RGBrgb(150, 23, 136)
HSLhsl(307, 73%, 34%)
HSVhsv(307, 85%, 59%)
CMYKcmyk(0%, 84.7%, 9.3%, 41.2%)
CIE-LABlab(35.74, 60.48, -31.75)
CIE-LCHlch(35.74, 68.30, 332.30°)
OKLaboklab(47.23% 0.1753 -0.0872)
OKLCHoklch(47.23% 0.196 333.5)
XYZxyz(17.3282, 8.8760, 24.0884)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961788 #179625
analogous
#651796 #961788 #961749
triadic
#961788 #889617 #178896
tetradic
#961788 #966517 #179625 #174996
square
#961788 #966517 #179625 #174996
split-complementary
#961788 #499617 #179665
monochromatic
#2C0728 #610F58 #961788 #CB1FB8 #E245D1

Accessibility & contrast

On white

7.57
#961788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#961788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961788
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961788#FFFFFF#000000##FFFFFF
##9617881.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#9D2751
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #961788;
/* rgb */ color: rgb(150, 23, 136);
/* oklch */ color: oklch(47.2% 0.196 333.5);
Tailwind
colors: {
  custom: {
    50: '#b967ab',
    500: '#961788',
    950: '#000000',
  },
}
SCSS
$custom: #961788;
$custom-light: #b967ab;
$custom-dark: #000000;
JSON
{
  "hex": "#961788",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 306.614,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.19584,
    "h": 333.5
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#961788
secondary
#45C353
accent
#F04C38
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #961788

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

Preview Lab → · Contrast checker → · Palette generator →

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