#962D8B#962D8B

#962D8B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.176 H 332.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#962D8B
RGBrgb(150, 45, 139)
HSLhsl(306, 54%, 38%)
HSVhsv(306, 70%, 59%)
CMYKcmyk(0%, 70%, 7.3%, 41.2%)
CIE-LABlab(38.25, 54.25, -29.65)
CIE-LCHlch(38.25, 61.82, 331.34°)
OKLaboklab(49.07% 0.1559 -0.0813)
OKLCHoklch(49.07% 0.176 332.4)
XYZxyz(18.1763, 10.2263, 25.4377)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D8B #2D9638
analogous
#6C2D96 #962D8B #962D56
triadic
#962D8B #8B962D #2D8B96
tetradic
#962D8B #966C2D #2D9638 #2D5696
square
#962D8B #966C2D #2D9638 #2D5696
split-complementary
#962D8B #56962D #2D966C
monochromatic
#381134 #671F5F #962D8B #C43CB6 #D36BC8

Accessibility & contrast

On white

6.90
#962D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#962D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962D8B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D8B#FFFFFF#000000##FFFFFF
##962D8B1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#9C3758
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962d8b;
/* rgb */ color: rgb(150, 45, 139);
/* oklch */ color: oklch(49.1% 0.176 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86fad',
    500: '#962d8b',
    950: '#000000',
  },
}
SCSS
$custom: #962d8b;
$custom-light: #b86fad;
$custom-dark: #000000;
JSON
{
  "hex": "#962d8b",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 306.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.17582,
    "h": 332.4
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#962D8B
secondary
#65B96E
accent
#DD5A4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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