#962A97#962A97

#962A97 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.189 H 327.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#962A97
RGBrgb(150, 42, 151)
HSLhsl(299, 56%, 38%)
HSVhsv(299, 72%, 59%)
CMYKcmyk(0.7%, 72.2%, 0%, 40.8%)
CIE-LABlab(38.51, 57.36, -36.56)
CIE-LCHlch(38.51, 68.02, 327.49°)
OKLaboklab(49.47% 0.1595 -0.1013)
OKLCHoklch(49.47% 0.189 327.6)
XYZxyz(18.9913, 10.3757, 30.2746)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A97 #2B972A
analogous
#602A97 #962A97 #972A61
triadic
#962A97 #97962A #2A9796
tetradic
#962A97 #97602A #2B972A #2A6197
square
#962A97 #97602A #2B972A #2A6197
split-complementary
#962A97 #61972A #2A9760
monochromatic
#370F37 #661D67 #962A97 #C637C7 #D467D5

Accessibility & contrast

On white

6.83
#962A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#962A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962A97
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A97#FFFFFF#000000##FFFFFF
##962A971.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#9B3B5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962a97;
/* rgb */ color: rgb(150, 42, 151);
/* oklch */ color: oklch(49.5% 0.189 327.6);
Tailwind
colors: {
  custom: {
    50: '#b86fb6',
    500: '#962a97',
    950: '#000000',
  },
}
SCSS
$custom: #962a97;
$custom-light: #b86fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#962a97",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 299.45,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.18897,
    "h": 327.6
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#962A97
secondary
#63BB62
accent
#E04849
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962A97

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

Preview Lab → · Contrast checker → · Palette generator →

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