#962797#962797

#962797 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.192 H 327.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#962797
RGBrgb(150, 39, 151)
HSLhsl(299, 59%, 37%)
HSVhsv(299, 74%, 59%)
CMYKcmyk(0.7%, 74.2%, 0%, 40.8%)
CIE-LABlab(38.15, 58.39, -37.13)
CIE-LCHlch(38.15, 69.20, 327.55°)
OKLaboklab(49.21% 0.1624 -0.1029)
OKLCHoklch(49.21% 0.192 327.6)
XYZxyz(18.8888, 10.1708, 30.2404)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962797 #289727
analogous
#5E2797 #962797 #972760
triadic
#962797 #979627 #279796
tetradic
#962797 #975E27 #289727 #276097
square
#962797 #975E27 #289727 #276097
split-complementary
#962797 #609727 #27975E
monochromatic
#350E36 #661A66 #962797 #C634C8 #D562D6

Accessibility & contrast

On white

6.92
#962797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#962797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962797
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962797#FFFFFF#000000##FFFFFF
##9627971.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#9B395D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962797;
/* rgb */ color: rgb(150, 39, 151);
/* oklch */ color: oklch(49.2% 0.192 327.6);
Tailwind
colors: {
  custom: {
    50: '#b86db6',
    500: '#962797',
    950: '#000000',
  },
}
SCSS
$custom: #962797;
$custom-light: #b86db6;
$custom-dark: #000000;
JSON
{
  "hex": "#962797",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 299.464,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.19231,
    "h": 327.6
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#962797
secondary
#5FBC5E
accent
#E24647
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962797

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

Preview Lab → · Contrast checker → · Palette generator →

#962797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva