#962DBC#962DBC

#962DBC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.217 H 315.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#962DBC
RGBrgb(150, 45, 188)
HSLhsl(284, 61%, 46%)
HSVhsv(284, 76%, 74%)
CMYKcmyk(20.2%, 76.1%, 0%, 26.3%)
CIE-LABlab(41.20, 63.15, -54.31)
CIE-LCHlch(41.20, 83.30, 319.30°)
OKLaboklab(52.13% 0.1538 -0.1532)
OKLCHoklch(52.13% 0.217 315.1)
XYZxyz(22.5917, 11.9925, 48.6919)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DBC #53BC2D
analogous
#4E2DBC #962DBC #BC2D9A
triadic
#962DBC #BC962D #2DBC96
tetradic
#962DBC #BC4E2D #53BC2D #2D9ABC
square
#962DBC #BC4E2D #53BC2D #2D9ABC
split-complementary
#962DBC #9ABC2D #2DBC4E
monochromatic
#471559 #6F218B #962DBC #B251D5 #C882E1

Accessibility & contrast

On white

6.18
#962DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#962DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DBC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DBC#FFFFFF#000000##FFFFFF
##962DBC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#934D73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962dbc;
/* rgb */ color: rgb(150, 45, 188);
/* oklch */ color: oklch(52.1% 0.217 315.1);
Tailwind
colors: {
  custom: {
    50: '#b971d1',
    500: '#962dbc',
    950: '#000000',
  },
}
SCSS
$custom: #962dbc;
$custom-light: #b971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#962dbc",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 284.056,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.21712,
    "h": 315.1
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#962DBC
secondary
#90CA7B
accent
#E4436E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #962DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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