#962D8D#962D8D

#962D8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.177 H 331.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#962D8D
RGBrgb(150, 45, 141)
HSLhsl(305, 54%, 38%)
HSVhsv(305, 70%, 59%)
CMYKcmyk(0%, 70%, 6%, 41.2%)
CIE-LABlab(38.35, 54.58, -30.71)
CIE-LCHlch(38.35, 62.63, 330.63°)
OKLaboklab(49.18% 0.156 -0.0844)
OKLCHoklch(49.18% 0.177 331.6)
XYZxyz(18.3238, 10.2853, 26.2143)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D8D #2D9636
analogous
#6A2D96 #962D8D #962D58
triadic
#962D8D #8D962D #2D8D96
tetradic
#962D8D #966A2D #2D9636 #2D5896
square
#962D8D #966A2D #2D9636 #2D5896
split-complementary
#962D8D #58962D #2D966A
monochromatic
#381134 #671F61 #962D8D #C43CB9 #D36BCA

Accessibility & contrast

On white

6.87
#962D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#962D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962D8D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D8D#FFFFFF#000000##FFFFFF
##962D8D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#9C3859
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962d8d;
/* rgb */ color: rgb(150, 45, 141);
/* oklch */ color: oklch(49.2% 0.177 331.6);
Tailwind
colors: {
  custom: {
    50: '#b870ae',
    500: '#962d8d',
    950: '#000000',
  },
}
SCSS
$custom: #962d8d;
$custom-light: #b870ae;
$custom-dark: #000000;
JSON
{
  "hex": "#962d8d",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 305.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.17739,
    "h": 331.6
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#962D8D
secondary
#65B96D
accent
#DD574B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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