#962A8D#962A8D

#962A8D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.181 H 331.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#962A8D
RGBrgb(150, 42, 141)
HSLhsl(305, 56%, 38%)
HSVhsv(305, 72%, 59%)
CMYKcmyk(0%, 72%, 6%, 41.2%)
CIE-LABlab(37.96, 55.68, -31.33)
CIE-LCHlch(37.96, 63.89, 330.64°)
OKLaboklab(48.9% 0.1592 -0.0862)
OKLCHoklch(48.9% 0.181 331.6)
XYZxyz(18.2134, 10.0645, 26.1775)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A8D #2A9633
analogous
#692A96 #962A8D #962A57
triadic
#962A8D #8D962A #2A8D96
tetradic
#962A8D #96692A #2A9633 #2A5796
square
#962A8D #96692A #2A9633 #2A5796
split-complementary
#962A8D #57962A #2A9669
monochromatic
#360F33 #661D60 #962A8D #C637BA #D466CB

Accessibility & contrast

On white

6.97
#962A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #962A8D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A8D#FFFFFF#000000##FFFFFF
##962A8D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#4B5F8A
Tritanopia (blue-blind)
#9C3658
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962a8d;
/* rgb */ color: rgb(150, 42, 141);
/* oklch */ color: oklch(48.9% 0.181 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86eaf',
    500: '#962a8d',
    950: '#000000',
  },
}
SCSS
$custom: #962a8d;
$custom-light: #b86eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#962a8d",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 305,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.18105,
    "h": 331.6
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#962A8D
secondary
#61BA69
accent
#E05548
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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