#962DC2#962DC2

#962DC2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.222 H 313.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#962DC2
RGBrgb(150, 45, 194)
HSLhsl(282, 62%, 47%)
HSVhsv(282, 77%, 76%)
CMYKcmyk(22.7%, 76.8%, 0%, 23.9%)
CIE-LABlab(41.62, 64.34, -57.15)
CIE-LCHlch(41.62, 86.06, 318.39°)
OKLaboklab(52.56% 0.1528 -0.1616)
OKLCHoklch(52.56% 0.222 313.4)
XYZxyz(23.2520, 12.2566, 52.1694)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DC2 #59C22D
analogous
#4C2DC2 #962DC2 #C22DA4
triadic
#962DC2 #C2962D #2DC296
tetradic
#962DC2 #C24C2D #59C22D #2DA4C2
square
#962DC2 #C24C2D #59C22D #2DA4C2
split-complementary
#962DC2 #A4C22D #2DC24C
monochromatic
#49165F #702190 #962DC2 #B155D7 #C886E3

Accessibility & contrast

On white

6.08
#962DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#962DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DC2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DC2#FFFFFF#000000##FFFFFF
##962DC21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1C64BF
Tritanopia (blue-blind)
#915077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #962dc2;
/* rgb */ color: rgb(150, 45, 194);
/* oklch */ color: oklch(52.6% 0.222 313.4);
Tailwind
colors: {
  custom: {
    50: '#ba72d5',
    500: '#962dc2',
    950: '#000000',
  },
}
SCSS
$custom: #962dc2;
$custom-light: #ba72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#962dc2",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 282.282,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.2224,
    "h": 313.4
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#962DC2
secondary
#95CD7E
accent
#E54273
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #962DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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