#962DB6#962DB6

#962DB6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.212 H 316.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#962DB6
RGBrgb(150, 45, 182)
HSLhsl(286, 60%, 45%)
HSVhsv(286, 75%, 71%)
CMYKcmyk(17.6%, 75.3%, 0%, 28.6%)
CIE-LABlab(40.80, 61.98, -51.44)
CIE-LCHlch(40.80, 80.55, 320.31°)
OKLaboklab(51.72% 0.1546 -0.1448)
OKLCHoklch(51.72% 0.212 316.9)
XYZxyz(21.9583, 11.7391, 45.3561)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DB6 #4DB62D
analogous
#512DB6 #962DB6 #B62D92
triadic
#962DB6 #B6962D #2DB696
tetradic
#962DB6 #B6512D #4DB62D #2D92B6
square
#962DB6 #B6512D #4DB62D #2D92B6
split-complementary
#962DB6 #92B62D #2DB651
monochromatic
#451554 #6E2185 #962DB6 #B44DD3 #C97EDF

Accessibility & contrast

On white

6.27
#962DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#962DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DB6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DB6#FFFFFF#000000##FFFFFF
##962DB61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#944B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #962db6;
/* rgb */ color: rgb(150, 45, 182);
/* oklch */ color: oklch(51.7% 0.212 316.9);
Tailwind
colors: {
  custom: {
    50: '#b971cd',
    500: '#962db6',
    950: '#000000',
  },
}
SCSS
$custom: #962db6;
$custom-light: #b971cd;
$custom-dark: #000000;
JSON
{
  "hex": "#962db6",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 285.985,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.21186,
    "h": 316.9
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#962DB6
secondary
#8AC877
accent
#E34469
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #962DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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