#962DB2#962DB2

#962DB2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.208 H 318.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#962DB2
RGBrgb(150, 45, 178)
HSLhsl(287, 60%, 44%)
HSVhsv(287, 75%, 70%)
CMYKcmyk(15.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(40.53, 61.21, -49.50)
CIE-LCHlch(40.53, 78.72, 321.04°)
OKLaboklab(51.45% 0.1551 -0.1391)
OKLCHoklch(51.45% 0.208 318.1)
XYZxyz(21.5508, 11.5761, 43.2101)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DB2 #49B22D
analogous
#532DB2 #962DB2 #B22D8B
triadic
#962DB2 #B2962D #2DB296
tetradic
#962DB2 #B2532D #49B22D #2D8BB2
square
#962DB2 #B2532D #49B22D #2D8BB2
split-complementary
#962DB2 #8BB22D #2DB253
monochromatic
#441450 #6D2181 #962DB2 #B54BD1 #C97CDE

Accessibility & contrast

On white

6.33
#962DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#962DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DB2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DB2#FFFFFF#000000##FFFFFF
##962DB21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#95496E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #962db2;
/* rgb */ color: rgb(150, 45, 178);
/* oklch */ color: oklch(51.4% 0.208 318.1);
Tailwind
colors: {
  custom: {
    50: '#b971ca',
    500: '#962db2',
    950: '#000000',
  },
}
SCSS
$custom: #962db2;
$custom-light: #b971ca;
$custom-dark: #000000;
JSON
{
  "hex": "#962db2",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 287.368,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.20837,
    "h": 318.1
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#962DB2
secondary
#86C675
accent
#E34566
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #962DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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