#962A8B#962A8B

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

Color values

HEX#962A8B
RGBrgb(150, 42, 139)
HSLhsl(306, 56%, 38%)
HSVhsv(306, 72%, 59%)
CMYKcmyk(0%, 72%, 7.3%, 41.2%)
CIE-LABlab(37.85, 55.36, -30.27)
CIE-LCHlch(37.85, 63.10, 331.33°)
OKLaboklab(48.79% 0.1591 -0.0831)
OKLCHoklch(48.79% 0.18 332.4)
XYZxyz(18.0659, 10.0055, 25.4009)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A8B #2A9635
analogous
#6B2A96 #962A8B #962A55
triadic
#962A8B #8B962A #2A8B96
tetradic
#962A8B #966B2A #2A9635 #2A5596
square
#962A8B #966B2A #2A9635 #2A5596
split-complementary
#962A8B #55962A #2A966B
monochromatic
#360F32 #661D5F #962A8B #C637B7 #D466C9

Accessibility & contrast

On white

7.00
#962A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#962A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962A8B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A8B#FFFFFF#000000##FFFFFF
##962A8B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#4C5F88
Tritanopia (blue-blind)
#9D3557
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962a8b;
/* rgb */ color: rgb(150, 42, 139);
/* oklch */ color: oklch(48.8% 0.180 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86ead',
    500: '#962a8b',
    950: '#000000',
  },
}
SCSS
$custom: #962a8b;
$custom-light: #b86ead;
$custom-dark: #000000;
JSON
{
  "hex": "#962a8b",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 306.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.17951,
    "h": 332.4
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#962A8B
secondary
#61BA6A
accent
#E05848
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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