#962DAB#962DAB

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

Color values

HEX#962DAB
RGBrgb(150, 45, 171)
HSLhsl(290, 58%, 42%)
HSVhsv(290, 74%, 67%)
CMYKcmyk(12.3%, 73.7%, 0%, 32.9%)
CIE-LABlab(40.08, 59.88, -46.07)
CIE-LCHlch(40.08, 75.55, 322.43°)
OKLaboklab(50.98% 0.1558 -0.1291)
OKLCHoklch(50.98% 0.202 320.4)
XYZxyz(20.8659, 11.3022, 39.6026)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DAB #42AB2D
analogous
#572DAB #962DAB #AB2D81
triadic
#962DAB #AB962D #2DAB96
tetradic
#962DAB #AB572D #42AB2D #2D81AB
square
#962DAB #AB572D #42AB2D #2D81AB
split-complementary
#962DAB #81AB2D #2DAB57
monochromatic
#41144A #6C207B #962DAB #B847CE #CB77DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##962DAB#FFFFFF#000000##FFFFFF
##962DAB1.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)
#0057AE
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#97466A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962dab;
/* rgb */ color: rgb(150, 45, 171);
/* oklch */ color: oklch(51.0% 0.202 320.4);
Tailwind
colors: {
  custom: {
    50: '#b971c5',
    500: '#962dab',
    950: '#000000',
  },
}
SCSS
$custom: #962dab;
$custom-light: #b971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#962dab",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 290,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.2023,
    "h": 320.4
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#962DAB
secondary
#7EC371
accent
#E24660
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #962DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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