#962DC8#962DC8

#962DC8 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.0% C 0.228 H 311.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#962DC8
RGBrgb(150, 45, 200)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 78%, 78%)
CMYKcmyk(25%, 77.5%, 0%, 21.6%)
CIE-LABlab(42.05, 65.55, -59.96)
CIE-LCHlch(42.05, 88.84, 317.55°)
OKLaboklab(53% 0.1517 -0.1698)
OKLCHoklch(53% 0.228 311.8)
XYZxyz(23.9394, 12.5316, 55.7901)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DC8 #5FC82D
analogous
#482DC8 #962DC8 #C82DAC
triadic
#962DC8 #C8962D #2DC896
tetradic
#962DC8 #C8482D #5FC82D #2DACC8
square
#962DC8 #C8482D #5FC82D #2DACC8
split-complementary
#962DC8 #ACC82D #2DC848
monochromatic
#4B1764 #712296 #962DC8 #B059DA #C88BE5

Accessibility & contrast

On white

5.99
#962DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#962DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DC8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DC8#FFFFFF#000000##FFFFFF
##962DC81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0A65C5
Tritanopia (blue-blind)
#90537A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #962dc8;
/* rgb */ color: rgb(150, 45, 200);
/* oklch */ color: oklch(53.0% 0.228 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba72da',
    500: '#962dc8',
    950: '#000000',
  },
}
SCSS
$custom: #962dc8;
$custom-light: #ba72da;
$custom-dark: #000000;
JSON
{
  "hex": "#962dc8",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 280.645,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.22772,
    "h": 311.8
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#962DC8
secondary
#9BCF82
accent
#E64177
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #962DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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