#961987#961987

#961987 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.194 H 334.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#961987
RGBrgb(150, 25, 135)
HSLhsl(307, 71%, 34%)
HSVhsv(307, 83%, 59%)
CMYKcmyk(0%, 83.3%, 10%, 41.2%)
CIE-LABlab(35.85, 59.86, -30.96)
CIE-LCHlch(35.85, 67.40, 332.65°)
OKLaboklab(47.28% 0.1739 -0.085)
OKLCHoklch(47.28% 0.194 334)
XYZxyz(17.2987, 8.9301, 23.7296)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961987 #199628
analogous
#671996 #961987 #961949
triadic
#961987 #879619 #198796
tetradic
#961987 #966719 #199628 #194996
square
#961987 #966719 #199628 #194996
split-complementary
#961987 #499619 #199667
monochromatic
#2D0829 #621058 #961987 #CA22B6 #E149CE

Accessibility & contrast

On white

7.54
#961987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#961987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961987
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961987#FFFFFF#000000##FFFFFF
##9619871.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#485B84
Tritanopia (blue-blind)
#9D2851
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #961987;
/* rgb */ color: rgb(150, 25, 135);
/* oklch */ color: oklch(47.3% 0.194 334.0);
Tailwind
colors: {
  custom: {
    50: '#b968aa',
    500: '#961987',
    950: '#000000',
  },
}
SCSS
$custom: #961987;
$custom-light: #b968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#961987",
  "rgb": {
    "r": 150,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 307.2,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.19359,
    "h": 334
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#961987
secondary
#49C257
accent
#EE4F3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #961987

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

Preview Lab → · Contrast checker → · Palette generator →

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