#9642AD#9642AD

#9642AD is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.4% C 0.177 H 318.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9642AD
RGBrgb(150, 66, 173)
HSLhsl(287, 45%, 47%)
HSVhsv(287, 62%, 68%)
CMYKcmyk(13.3%, 61.8%, 0%, 32.2%)
CIE-LABlab(43.36, 51.46, -42.02)
CIE-LCHlch(43.36, 66.44, 320.76°)
OKLaboklab(53.37% 0.1324 -0.1174)
OKLCHoklch(53.37% 0.177 318.4)
XYZxyz(22.0677, 13.3985, 40.9508)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642AD #59AD42
analogous
#6142AD #9642AD #AD428F
triadic
#9642AD #AD9642 #42AD96
tetradic
#9642AD #AD6142 #59AD42 #428FAD
square
#9642AD #AD6142 #59AD42 #428FAD
split-complementary
#9642AD #8FAD42 #42AD61
monochromatic
#492054 #703181 #9642AD #B167C5 #C893D6

Accessibility & contrast

On white

5.71
#9642AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9642AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642AD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642AD#FFFFFF#000000##FFFFFF
##9642AD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B0
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#965471
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9642ad;
/* rgb */ color: rgb(150, 66, 173);
/* oklch */ color: oklch(53.4% 0.177 318.4);
Tailwind
colors: {
  custom: {
    50: '#b87cc6',
    500: '#9642ad',
    950: '#000000',
  },
}
SCSS
$custom: #9642ad;
$custom-light: #b87cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9642ad",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 287.103,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.17692,
    "h": 318.4
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#9642AD
secondary
#95C189
accent
#D4536F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9642AD

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

Preview Lab → · Contrast checker → · Palette generator →

#9642AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva