#962B87#962B87

#962B87 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.175 H 334.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#962B87
RGBrgb(150, 43, 135)
HSLhsl(308, 55%, 38%)
HSVhsv(308, 71%, 59%)
CMYKcmyk(0%, 71.3%, 10%, 41.2%)
CIE-LABlab(37.78, 54.35, -27.93)
CIE-LCHlch(37.78, 61.11, 332.80°)
OKLaboklab(48.67% 0.1577 -0.0764)
OKLCHoklch(48.67% 0.175 334.2)
XYZxyz(17.8149, 9.9626, 23.9017)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962B87 #2B963A
analogous
#6F2B96 #962B87 #962B52
triadic
#962B87 #87962B #2B8796
tetradic
#962B87 #966F2B #2B963A #2B5296
square
#962B87 #966F2B #2B963A #2B5296
split-complementary
#962B87 #52962B #2B966F
monochromatic
#371031 #661D5C #962B87 #C639B2 #D468C5

Accessibility & contrast

On white

7.02
#962B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#962B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962B87
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962B87#FFFFFF#000000##FFFFFF
##962B871.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#4F5E84
Tritanopia (blue-blind)
#9D3455
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962b87;
/* rgb */ color: rgb(150, 43, 135);
/* oklch */ color: oklch(48.7% 0.175 334.2);
Tailwind
colors: {
  custom: {
    50: '#b86eaa',
    500: '#962b87',
    950: '#000000',
  },
}
SCSS
$custom: #962b87;
$custom-light: #b86eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#962b87",
  "rgb": {
    "r": 150,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 308.411,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.17525,
    "h": 334.2
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#962B87
secondary
#63BA6F
accent
#DF5E49
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962B87

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

Preview Lab → · Contrast checker → · Palette generator →

#962B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva