#9640AC#9640AC

#9640AC is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.179 H 318.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9640AC
RGBrgb(150, 64, 172)
HSLhsl(288, 46%, 46%)
HSVhsv(288, 63%, 67%)
CMYKcmyk(12.8%, 62.8%, 0%, 32.5%)
CIE-LABlab(42.96, 52.19, -42.07)
CIE-LCHlch(42.96, 67.04, 321.13°)
OKLaboklab(53.07% 0.1348 -0.1175)
OKLCHoklch(53.07% 0.179 318.9)
XYZxyz(21.8565, 13.1303, 40.4048)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640AC #56AC40
analogous
#6040AC #9640AC #AC408C
triadic
#9640AC #AC9640 #40AC96
tetradic
#9640AC #AC6040 #56AC40 #408CAC
square
#9640AC #AC6040 #56AC40 #408CAC
split-complementary
#9640AC #8CAC40 #40AC60
monochromatic
#481F53 #6F2F7F #9640AC #B164C5 #C891D6

Accessibility & contrast

On white

5.79
#9640AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9640AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9640AC#FFFFFF#000000##FFFFFF
##9640AC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#965270
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9640ac;
/* rgb */ color: rgb(150, 64, 172);
/* oklch */ color: oklch(53.1% 0.179 318.9);
Tailwind
colors: {
  custom: {
    50: '#b87ac5',
    500: '#9640ac',
    950: '#000000',
  },
}
SCSS
$custom: #9640ac;
$custom-light: #b87ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9640ac",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 287.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.17885,
    "h": 318.9
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#9640AC
secondary
#93C187
accent
#D5526D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9640AC

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

Preview Lab → · Contrast checker → · Palette generator →

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