#962B97#962B97

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

Color values

HEX#962B97
RGBrgb(150, 43, 151)
HSLhsl(299, 56%, 38%)
HSVhsv(299, 72%, 59%)
CMYKcmyk(0.7%, 71.5%, 0%, 40.8%)
CIE-LABlab(38.63, 57.00, -36.36)
CIE-LCHlch(38.63, 67.61, 327.47°)
OKLaboklab(49.56% 0.1585 -0.1007)
OKLCHoklch(49.56% 0.188 327.6)
XYZxyz(19.0272, 10.4475, 30.2866)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962B97 #2C972B
analogous
#602B97 #962B97 #972B62
triadic
#962B97 #97962B #2B9796
tetradic
#962B97 #97602B #2C972B #2B6297
square
#962B97 #97602B #2C972B #2B6297
split-complementary
#962B97 #62972B #2B9760
monochromatic
#371038 #671D67 #962B97 #C539C7 #D368D4

Accessibility & contrast

On white

6.80
#962B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#962B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962B97
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962B97#FFFFFF#000000##FFFFFF
##962B971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#9B3B5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962b97;
/* rgb */ color: rgb(150, 43, 151);
/* oklch */ color: oklch(49.6% 0.188 327.6);
Tailwind
colors: {
  custom: {
    50: '#b86fb6',
    500: '#962b97',
    950: '#000000',
  },
}
SCSS
$custom: #962b97;
$custom-light: #b86fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#962b97",
  "rgb": {
    "r": 150,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 299.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.18782,
    "h": 327.6
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#962B97
secondary
#64BB63
accent
#DF494A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962B97

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

Preview Lab → · Contrast checker → · Palette generator →

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