#962AA2#962AA2

#962AA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.198 H 323.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#962AA2
RGBrgb(150, 42, 162)
HSLhsl(294, 59%, 40%)
HSVhsv(294, 74%, 64%)
CMYKcmyk(7.4%, 74.1%, 0%, 36.5%)
CIE-LABlab(39.16, 59.29, -42.17)
CIE-LCHlch(39.16, 72.76, 324.58°)
OKLaboklab(50.14% 0.1593 -0.1176)
OKLCHoklch(50.14% 0.198 323.5)
XYZxyz(19.9266, 10.7498, 35.2008)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962AA2 #36A22A
analogous
#5A2AA2 #962AA2 #A22A72
triadic
#962AA2 #A2962A #2AA296
tetradic
#962AA2 #A25A2A #36A22A #2A72A2
square
#962AA2 #A25A2A #36A22A #2A72A2
split-complementary
#962AA2 #72A22A #2AA25A
monochromatic
#3C1141 #691D71 #962AA2 #BE3DCD #CE6DD9

Accessibility & contrast

On white

6.67
#962AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#962AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962AA2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962AA2#FFFFFF#000000##FFFFFF
##962AA21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3F609F
Tritanopia (blue-blind)
#994064
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #962aa2;
/* rgb */ color: rgb(150, 42, 162);
/* oklch */ color: oklch(50.1% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#b86fbe',
    500: '#962aa2',
    950: '#000000',
  },
}
SCSS
$custom: #962aa2;
$custom-light: #b86fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#962aa2",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 294,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.198,
    "h": 323.5
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#962AA2
secondary
#71C068
accent
#E24655
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #962AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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