#962DB8#962DB8

#962DB8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.214 H 316.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#962DB8
RGBrgb(150, 45, 184)
HSLhsl(285, 61%, 45%)
HSVhsv(285, 76%, 72%)
CMYKcmyk(18.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(40.93, 62.37, -52.40)
CIE-LCHlch(40.93, 81.46, 319.96°)
OKLaboklab(51.86% 0.1544 -0.1476)
OKLCHoklch(51.86% 0.214 316.3)
XYZxyz(22.1665, 11.8224, 46.4524)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DB8 #4FB82D
analogous
#512DB8 #962DB8 #B82D94
triadic
#962DB8 #B8962D #2DB896
tetradic
#962DB8 #B8512D #4FB82D #2D94B8
square
#962DB8 #B8512D #4FB82D #2D94B8
split-complementary
#962DB8 #94B82D #2DB851
monochromatic
#461556 #6E2187 #962DB8 #B34ED4 #C880E0

Accessibility & contrast

On white

6.24
#962DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#962DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DB8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DB8#FFFFFF#000000##FFFFFF
##962DB81.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#2C63B5
Tritanopia (blue-blind)
#944B71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #962db8;
/* rgb */ color: rgb(150, 45, 184);
/* oklch */ color: oklch(51.9% 0.214 316.3);
Tailwind
colors: {
  custom: {
    50: '#b971ce',
    500: '#962db8',
    950: '#000000',
  },
}
SCSS
$custom: #962db8;
$custom-light: #b971ce;
$custom-dark: #000000;
JSON
{
  "hex": "#962db8",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 285.324,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.21361,
    "h": 316.3
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#962DB8
secondary
#8CC978
accent
#E4446B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #962DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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