#962AB1#962AB1

#962AB1 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.211 H 318.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#962AB1
RGBrgb(150, 42, 177)
HSLhsl(288, 62%, 43%)
HSVhsv(288, 76%, 69%)
CMYKcmyk(15.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(40.11, 62.06, -49.60)
CIE-LCHlch(40.11, 79.44, 321.37°)
OKLaboklab(51.12% 0.1579 -0.1394)
OKLCHoklch(51.12% 0.211 318.6)
XYZxyz(21.3404, 11.3153, 42.6464)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962AB1 #45B12A
analogous
#522AB1 #962AB1 #B12A88
triadic
#962AB1 #B1962A #2AB196
tetradic
#962AB1 #B1522A #45B12A #2A88B1
square
#962AB1 #B1522A #45B12A #2A88B1
split-complementary
#962AB1 #88B12A #2AB152
monochromatic
#42134E #6C1E80 #962AB1 #B745D3 #CA77DF

Accessibility & contrast

On white

6.44
#962AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#962AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962AB1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962AB1#FFFFFF#000000##FFFFFF
##962AB11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#95476C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962ab1;
/* rgb */ color: rgb(150, 42, 177);
/* oklch */ color: oklch(51.1% 0.211 318.6);
Tailwind
colors: {
  custom: {
    50: '#b970c9',
    500: '#962ab1',
    950: '#000000',
  },
}
SCSS
$custom: #962ab1;
$custom-light: #b970c9;
$custom-dark: #000000;
JSON
{
  "hex": "#962ab1",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 288,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.21065,
    "h": 318.6
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#962AB1
secondary
#82C670
accent
#E54363
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #962AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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