#964797#964797

#964797 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.8% C 0.148 H 326.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#964797
RGBrgb(150, 71, 151)
HSLhsl(299, 36%, 44%)
HSVhsv(299, 53%, 59%)
CMYKcmyk(0.7%, 53%, 0%, 40.8%)
CIE-LABlab(43.10, 44.70, -29.32)
CIE-LCHlch(43.10, 53.45, 326.74°)
OKLaboklab(52.81% 0.1239 -0.0806)
OKLCHoklch(52.81% 0.148 326.9)
XYZxyz(20.4165, 13.2260, 30.7496)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964797 #489747
analogous
#6E4797 #964797 #974770
triadic
#964797 #979647 #479796
tetradic
#964797 #976E47 #489747 #477097
square
#964797 #976E47 #489747 #477097
split-complementary
#964797 #709747 #47976E
monochromatic
#432044 #6D336D #964797 #B565B6 #C98ECA

Accessibility & contrast

On white

5.76
#964797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#964797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964797
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964797#FFFFFF#000000##FFFFFF
##9647971.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F9A
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#9A5068
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #964797;
/* rgb */ color: rgb(150, 71, 151);
/* oklch */ color: oklch(52.8% 0.148 326.9);
Tailwind
colors: {
  custom: {
    50: '#b77eb6',
    500: '#964797',
    950: '#000000',
  },
}
SCSS
$custom: #964797;
$custom-light: #b77eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#964797",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 299.25,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.1478,
    "h": 326.9
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#964797
secondary
#85B684
accent
#CC5C5D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #964797

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

Preview Lab → · Contrast checker → · Palette generator →

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