#9640AA#9640AA

#9640AA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.9% C 0.177 H 319.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9640AA
RGBrgb(150, 64, 170)
HSLhsl(289, 45%, 46%)
HSVhsv(289, 62%, 67%)
CMYKcmyk(11.8%, 62.4%, 0%, 33.3%)
CIE-LABlab(42.84, 51.79, -41.06)
CIE-LCHlch(42.84, 66.10, 321.59°)
OKLaboklab(52.95% 0.1348 -0.1146)
OKLCHoklch(52.95% 0.177 319.6)
XYZxyz(21.6659, 13.0541, 39.4009)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640AA #54AA40
analogous
#6140AA #9640AA #AA4089
triadic
#9640AA #AA9640 #40AA96
tetradic
#9640AA #AA6140 #54AA40 #4089AA
square
#9640AA #AA6140 #54AA40 #4089AA
split-complementary
#9640AA #89AA40 #40AA61
monochromatic
#481F51 #6F2F7E #9640AA #B263C4 #C88FD5

Accessibility & contrast

On white

5.82
#9640AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9640AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640AA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640AA#FFFFFF#000000##FFFFFF
##9640AA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#96516F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9640aa;
/* rgb */ color: rgb(150, 64, 170);
/* oklch */ color: oklch(52.9% 0.177 319.6);
Tailwind
colors: {
  custom: {
    50: '#b87ac4',
    500: '#9640aa',
    950: '#000000',
  },
}
SCSS
$custom: #9640aa;
$custom-light: #b87ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#9640aa",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 288.679,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.17692,
    "h": 319.6
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#9640AA
secondary
#91C086
accent
#D5536B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9640AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9640AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva