#962A9A#962A9A

#962A9A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.191 H 326.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#962A9A
RGBrgb(150, 42, 154)
HSLhsl(298, 57%, 38%)
HSVhsv(298, 73%, 60%)
CMYKcmyk(2.6%, 72.7%, 0%, 39.6%)
CIE-LABlab(38.68, 57.88, -38.10)
CIE-LCHlch(38.68, 69.29, 326.64°)
OKLaboklab(49.65% 0.1595 -0.1058)
OKLCHoklch(49.65% 0.191 326.4)
XYZxyz(19.2380, 10.4744, 31.5741)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A9A #2E9A2A
analogous
#5E2A9A #962A9A #9A2A66
triadic
#962A9A #9A962A #2A9A96
tetradic
#962A9A #9A5E2A #2E9A2A #2A669A
square
#962A9A #9A5E2A #2E9A2A #2A669A
split-complementary
#962A9A #669A2A #2A9A5E
monochromatic
#38103A #671D6A #962A9A #C438C9 #D268D6

Accessibility & contrast

On white

6.79
#962A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#962A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962A9A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A9A#FFFFFF#000000##FFFFFF
##962A9A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#9A3C5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962a9a;
/* rgb */ color: rgb(150, 42, 154);
/* oklch */ color: oklch(49.7% 0.191 326.4);
Tailwind
colors: {
  custom: {
    50: '#b86fb8',
    500: '#962a9a',
    950: '#000000',
  },
}
SCSS
$custom: #962a9a;
$custom-light: #b86fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#962a9a",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 297.857,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.19141,
    "h": 326.4
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#962A9A
secondary
#67BC63
accent
#E0474D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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