#962BA2#962BA2

#962BA2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.197 H 323.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#962BA2
RGBrgb(150, 43, 162)
HSLhsl(294, 58%, 40%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(7.4%, 73.5%, 0%, 36.5%)
CIE-LABlab(39.28, 58.94, -41.97)
CIE-LCHlch(39.28, 72.36, 324.54°)
OKLaboklab(50.23% 0.1583 -0.1171)
OKLCHoklch(50.23% 0.197 323.5)
XYZxyz(19.9625, 10.8216, 35.2127)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962BA2 #37A22B
analogous
#5B2BA2 #962BA2 #A22B72
triadic
#962BA2 #A2962B #2BA296
tetradic
#962BA2 #A25B2B #37A22B #2B72A2
square
#962BA2 #A25B2B #37A22B #2B72A2
split-complementary
#962BA2 #72A22B #2BA25B
monochromatic
#3C1141 #691E72 #962BA2 #BE3ECC #CE6FD9

Accessibility & contrast

On white

6.64
#962BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#962BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962BA2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962BA2#FFFFFF#000000##FFFFFF
##962BA21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962ba2;
/* rgb */ color: rgb(150, 43, 162);
/* oklch */ color: oklch(50.2% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#b86fbe',
    500: '#962ba2',
    950: '#000000',
  },
}
SCSS
$custom: #962ba2;
$custom-light: #b86fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#962ba2",
  "rgb": {
    "r": 150,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 293.95,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.19689,
    "h": 323.5
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#962BA2
secondary
#72C069
accent
#E14756
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #962BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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