#962D9B#962D9B

#962D9B is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.189 H 326.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#962D9B
RGBrgb(150, 45, 155)
HSLhsl(297, 55%, 39%)
HSVhsv(297, 71%, 61%)
CMYKcmyk(3.2%, 71%, 0%, 39.2%)
CIE-LABlab(39.12, 56.97, -38.01)
CIE-LCHlch(39.12, 68.48, 326.29°)
OKLaboklab(49.98% 0.1565 -0.1055)
OKLCHoklch(49.98% 0.189 326)
XYZxyz(19.4321, 10.7286, 32.0513)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D9B #329B2D
analogous
#5F2D9B #962D9B #9B2D69
triadic
#962D9B #9B962D #2D9B96
tetradic
#962D9B #9B5F2D #329B2D #2D699B
square
#962D9B #9B5F2D #329B2D #2D699B
split-complementary
#962D9B #699B2D #2D9B5F
monochromatic
#3A113C #681F6C #962D9B #C13EC7 #D06ED5

Accessibility & contrast

On white

6.68
#962D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#962D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962D9B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D9B#FFFFFF#000000##FFFFFF
##962D9B1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#9A3E61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #962d9b;
/* rgb */ color: rgb(150, 45, 155);
/* oklch */ color: oklch(50.0% 0.189 326.0);
Tailwind
colors: {
  custom: {
    50: '#b870b9',
    500: '#962d9b',
    950: '#000000',
  },
}
SCSS
$custom: #962d9b;
$custom-light: #b870b9;
$custom-dark: #000000;
JSON
{
  "hex": "#962d9b",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 297.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.18875,
    "h": 326
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#962D9B
secondary
#6CBC68
accent
#DE4950
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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