#962587#962587

#962587 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.182 H 334.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#962587
RGBrgb(150, 37, 135)
HSLhsl(308, 60%, 37%)
HSVhsv(308, 75%, 59%)
CMYKcmyk(0%, 75.3%, 10%, 41.2%)
CIE-LABlab(37.04, 56.45, -29.09)
CIE-LCHlch(37.04, 63.50, 332.74°)
OKLaboklab(48.13% 0.1639 -0.0797)
OKLCHoklch(48.13% 0.182 334.1)
XYZxyz(17.6126, 9.5580, 23.8342)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962587 #259634
analogous
#6D2596 #962587 #96254E
triadic
#962587 #879625 #258796
tetradic
#962587 #966D25 #259634 #254E96
square
#962587 #966D25 #259634 #254E96
split-complementary
#962587 #4E9625 #25966D
monochromatic
#340D2F #65195B #962587 #C731B3 #D75EC7

Accessibility & contrast

On white

7.21
#962587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#962587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962587
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962587#FFFFFF#000000##FFFFFF
##9625871.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#9D3054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #962587;
/* rgb */ color: rgb(150, 37, 135);
/* oklch */ color: oklch(48.1% 0.182 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86caa',
    500: '#962587',
    950: '#000000',
  },
}
SCSS
$custom: #962587;
$custom-light: #b86caa;
$custom-dark: #000000;
JSON
{
  "hex": "#962587",
  "rgb": {
    "r": 150,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 307.965,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.18222,
    "h": 334.1
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#962587
secondary
#5BBC67
accent
#E45944
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962587

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

Preview Lab → · Contrast checker → · Palette generator →

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