#962DB9#962DB9

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

Color values

HEX#962DB9
RGBrgb(150, 45, 185)
HSLhsl(285, 61%, 45%)
HSVhsv(285, 76%, 73%)
CMYKcmyk(18.9%, 75.7%, 0%, 27.5%)
CIE-LABlab(41.00, 62.56, -52.88)
CIE-LCHlch(41.00, 81.92, 319.79°)
OKLaboklab(51.92% 0.1542 -0.149)
OKLCHoklch(51.92% 0.214 316)
XYZxyz(22.2716, 11.8645, 47.0064)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DB9 #50B92D
analogous
#502DB9 #962DB9 #B92D96
triadic
#962DB9 #B9962D #2DB996
tetradic
#962DB9 #B9502D #50B92D #2D96B9
square
#962DB9 #B9502D #50B92D #2D96B9
split-complementary
#962DB9 #96B92D #2DB950
monochromatic
#461557 #6E2188 #962DB9 #B34FD4 #C880E0

Accessibility & contrast

On white

6.23
#962DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#962DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DB9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DB9#FFFFFF#000000##FFFFFF
##962DB91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2B63B6
Tritanopia (blue-blind)
#944C72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962db9;
/* rgb */ color: rgb(150, 45, 185);
/* oklch */ color: oklch(51.9% 0.214 316.0);
Tailwind
colors: {
  custom: {
    50: '#b971cf',
    500: '#962db9',
    950: '#000000',
  },
}
SCSS
$custom: #962db9;
$custom-light: #b971cf;
$custom-dark: #000000;
JSON
{
  "hex": "#962db9",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 285,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.21448,
    "h": 316
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#962DB9
secondary
#8DC979
accent
#E4446C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #962DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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