#962A87#962A87

#962A87 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.176 H 334.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#962A87
RGBrgb(150, 42, 135)
HSLhsl(308, 56%, 38%)
HSVhsv(308, 72%, 59%)
CMYKcmyk(0%, 72%, 10%, 41.2%)
CIE-LABlab(37.65, 54.72, -28.14)
CIE-LCHlch(37.65, 61.53, 332.79°)
OKLaboklab(48.57% 0.1588 -0.077)
OKLCHoklch(48.57% 0.176 334.1)
XYZxyz(17.7790, 9.8907, 23.8897)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A87 #2A9639
analogous
#6F2A96 #962A87 #962A51
triadic
#962A87 #87962A #2A8796
tetradic
#962A87 #966F2A #2A9639 #2A5196
square
#962A87 #966F2A #2A9639 #2A5196
split-complementary
#962A87 #51962A #2A966F
monochromatic
#360F31 #661D5C #962A87 #C637B2 #D466C5

Accessibility & contrast

On white

7.05
#962A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#962A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962A87
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A87#FFFFFF#000000##FFFFFF
##962A871.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#9D3355
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962a87;
/* rgb */ color: rgb(150, 42, 135);
/* oklch */ color: oklch(48.6% 0.176 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86eaa',
    500: '#962a87',
    950: '#000000',
  },
}
SCSS
$custom: #962a87;
$custom-light: #b86eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#962a87",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 308.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.17646,
    "h": 334.1
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#962A87
secondary
#61BA6E
accent
#E05D48
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962A87

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

Preview Lab → · Contrast checker → · Palette generator →

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