#962B9B#962B9B

#962B9B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.191 H 326.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#962B9B
RGBrgb(150, 43, 155)
HSLhsl(297, 57%, 39%)
HSVhsv(297, 72%, 61%)
CMYKcmyk(3.2%, 72.3%, 0%, 39.2%)
CIE-LABlab(38.86, 57.70, -38.42)
CIE-LCHlch(38.86, 69.32, 326.34°)
OKLaboklab(49.8% 0.1585 -0.1067)
OKLCHoklch(49.8% 0.191 326)
XYZxyz(19.3576, 10.5796, 32.0265)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962B9B #309B2B
analogous
#5E2B9B #962B9B #9B2B68
triadic
#962B9B #9B962B #2B9B96
tetradic
#962B9B #9B5E2B #309B2B #2B689B
square
#962B9B #9B5E2B #309B2B #2B689B
split-complementary
#962B9B #689B2B #2B9B5E
monochromatic
#39103B #681E6B #962B9B #C23BC9 #D16BD6

Accessibility & contrast

On white

6.74
#962B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#962B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962B9B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962B9B#FFFFFF#000000##FFFFFF
##962B9B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9A3D60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962b9b;
/* rgb */ color: rgb(150, 43, 155);
/* oklch */ color: oklch(49.8% 0.191 326.0);
Tailwind
colors: {
  custom: {
    50: '#b86fb9',
    500: '#962b9b',
    950: '#000000',
  },
}
SCSS
$custom: #962b9b;
$custom-light: #b86fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#962b9b",
  "rgb": {
    "r": 150,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 297.321,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.498,
    "c": 0.19109,
    "h": 326
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#962B9B
secondary
#69BC65
accent
#E0484F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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