#962B8A#962B8A

#962B8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.178 H 332.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#962B8A
RGBrgb(150, 43, 138)
HSLhsl(307, 55%, 38%)
HSVhsv(307, 71%, 59%)
CMYKcmyk(0%, 71.3%, 8%, 41.2%)
CIE-LABlab(37.93, 54.83, -29.54)
CIE-LCHlch(37.93, 62.28, 331.69°)
OKLaboklab(48.83% 0.158 -0.081)
OKLCHoklch(48.83% 0.178 332.9)
XYZxyz(18.0291, 10.0482, 25.0298)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962B8A #2B9637
analogous
#6C2B96 #962B8A #962B54
triadic
#962B8A #8A962B #2B8A96
tetradic
#962B8A #966C2B #2B9637 #2B5496
square
#962B8A #966C2B #2B9637 #2B5496
split-complementary
#962B8A #54962B #2B966C
monochromatic
#371032 #661D5E #962B8A #C639B6 #D468C8

Accessibility & contrast

On white

6.98
#962B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#962B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962B8A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962B8A#FFFFFF#000000##FFFFFF
##962B8A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#4D5F87
Tritanopia (blue-blind)
#9D3557
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962b8a;
/* rgb */ color: rgb(150, 43, 138);
/* oklch */ color: oklch(48.8% 0.178 332.9);
Tailwind
colors: {
  custom: {
    50: '#b86fac',
    500: '#962b8a',
    950: '#000000',
  },
}
SCSS
$custom: #962b8a;
$custom-light: #b86fac;
$custom-dark: #000000;
JSON
{
  "hex": "#962b8a",
  "rgb": {
    "r": 150,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 306.729,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.17753,
    "h": 332.9
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#962B8A
secondary
#63BA6D
accent
#DF5A49
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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