#962DBD#962DBD

#962DBD is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.218 H 314.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#962DBD
RGBrgb(150, 45, 189)
HSLhsl(284, 62%, 46%)
HSVhsv(284, 76%, 74%)
CMYKcmyk(20.6%, 76.2%, 0%, 25.9%)
CIE-LABlab(41.27, 63.35, -54.79)
CIE-LCHlch(41.27, 83.76, 319.14°)
OKLaboklab(52.2% 0.1537 -0.1546)
OKLCHoklch(52.2% 0.218 314.8)
XYZxyz(22.6998, 12.0358, 49.2616)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DBD #54BD2D
analogous
#4E2DBD #962DBD #BD2D9C
triadic
#962DBD #BD962D #2DBD96
tetradic
#962DBD #BD4E2D #54BD2D #2D9CBD
square
#962DBD #BD4E2D #54BD2D #2D9CBD
split-complementary
#962DBD #9CBD2D #2DBD4E
monochromatic
#48155A #6F218C #962DBD #B252D6 #C883E1

Accessibility & contrast

On white

6.16
#962DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#962DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DBD#FFFFFF#000000##FFFFFF
##962DBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#934E74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962dbd;
/* rgb */ color: rgb(150, 45, 189);
/* oklch */ color: oklch(52.2% 0.218 314.8);
Tailwind
colors: {
  custom: {
    50: '#b971d2',
    500: '#962dbd',
    950: '#000000',
  },
}
SCSS
$custom: #962dbd;
$custom-light: #b971d2;
$custom-dark: #000000;
JSON
{
  "hex": "#962dbd",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 283.75,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.218,
    "h": 314.8
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#962DBD
secondary
#91CB7B
accent
#E5436F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #962DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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