#964799#964799

#964799 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.9% C 0.150 H 326.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#964799
RGBrgb(150, 71, 153)
HSLhsl(298, 37%, 44%)
HSVhsv(298, 54%, 60%)
CMYKcmyk(2%, 53.6%, 0%, 40%)
CIE-LABlab(43.20, 45.08, -30.37)
CIE-LCHlch(43.20, 54.35, 326.03°)
OKLaboklab(52.92% 0.1242 -0.0836)
OKLCHoklch(52.92% 0.15 326)
XYZxyz(20.5803, 13.2915, 31.6123)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964799 #4A9947
analogous
#6D4799 #964799 #994773
triadic
#964799 #999647 #479996
tetradic
#964799 #996D47 #4A9947 #477399
square
#964799 #996D47 #4A9947 #477399
split-complementary
#964799 #739947 #47996D
monochromatic
#442045 #6D346F #964799 #B565B8 #C98FCB

Accessibility & contrast

On white

5.74
#964799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#964799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964799
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964799#FFFFFF#000000##FFFFFF
##9647991.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#9A5169
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #964799;
/* rgb */ color: rgb(150, 71, 153);
/* oklch */ color: oklch(52.9% 0.150 326.0);
Tailwind
colors: {
  custom: {
    50: '#b77eb7',
    500: '#964799',
    950: '#000000',
  },
}
SCSS
$custom: #964799;
$custom-light: #b77eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#964799",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 297.805,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.1497,
    "h": 326
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#964799
secondary
#87B785
accent
#CD5B5F
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #964799

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

Preview Lab → · Contrast checker → · Palette generator →

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