#962DC7#962DC7

#962DC7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.227 H 312.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#962DC7
RGBrgb(150, 45, 199)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 77%, 78%)
CMYKcmyk(24.6%, 77.4%, 0%, 22%)
CIE-LABlab(41.98, 65.35, -59.49)
CIE-LCHlch(41.98, 88.37, 317.69°)
OKLaboklab(52.92% 0.1519 -0.1684)
OKLCHoklch(52.92% 0.227 312)
XYZxyz(23.8230, 12.4850, 55.1767)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DC7 #5EC72D
analogous
#492DC7 #962DC7 #C72DAB
triadic
#962DC7 #C7962D #2DC796
tetradic
#962DC7 #C7492D #5EC72D #2DABC7
square
#962DC7 #C7492D #5EC72D #2DABC7
split-complementary
#962DC7 #ABC72D #2DC749
monochromatic
#4B1663 #702295 #962DC7 #B058D9 #C88AE5

Accessibility & contrast

On white

6.01
#962DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#962DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DC7#FFFFFF#000000##FFFFFF
##962DC71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0E65C4
Tritanopia (blue-blind)
#90527A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #962dc7;
/* rgb */ color: rgb(150, 45, 199);
/* oklch */ color: oklch(52.9% 0.227 312.0);
Tailwind
colors: {
  custom: {
    50: '#ba72d9',
    500: '#962dc7',
    950: '#000000',
  },
}
SCSS
$custom: #962dc7;
$custom-light: #ba72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#962dc7",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 280.909,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.22683,
    "h": 312
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#962DC7
secondary
#9ACE81
accent
#E64276
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #962DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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