#962887#962887

#962887 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.179 H 334.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#962887
RGBrgb(150, 40, 135)
HSLhsl(308, 58%, 37%)
HSVhsv(308, 73%, 59%)
CMYKcmyk(0%, 73.3%, 10%, 41.2%)
CIE-LABlab(37.39, 55.43, -28.53)
CIE-LCHlch(37.39, 62.34, 332.77°)
OKLaboklab(48.39% 0.1609 -0.0781)
OKLCHoklch(48.39% 0.179 334.1)
XYZxyz(17.7098, 9.7524, 23.8666)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962887 #289637
analogous
#6E2896 #962887 #962850
triadic
#962887 #879628 #288796
tetradic
#962887 #966E28 #289637 #285096
square
#962887 #966E28 #289637 #285096
split-complementary
#962887 #509628 #28966E
monochromatic
#350E30 #661B5C #962887 #C635B2 #D563C6

Accessibility & contrast

On white

7.12
#962887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#962887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962887
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962887#FFFFFF#000000##FFFFFF
##9628871.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#4D5E84
Tritanopia (blue-blind)
#9D3254
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #962887;
/* rgb */ color: rgb(150, 40, 135);
/* oklch */ color: oklch(48.4% 0.179 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86daa',
    500: '#962887',
    950: '#000000',
  },
}
SCSS
$custom: #962887;
$custom-light: #b86daa;
$custom-dark: #000000;
JSON
{
  "hex": "#962887",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 308.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.17884,
    "h": 334.1
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#962887
secondary
#5FBB6B
accent
#E15C47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962887

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

Preview Lab → · Contrast checker → · Palette generator →

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