#9642AB#9642AB

#9642AB is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.3% C 0.175 H 319.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9642AB
RGBrgb(150, 66, 171)
HSLhsl(288, 44%, 46%)
HSVhsv(288, 61%, 67%)
CMYKcmyk(12.3%, 61.4%, 0%, 32.9%)
CIE-LABlab(43.24, 51.05, -41.02)
CIE-LCHlch(43.24, 65.49, 321.22°)
OKLaboklab(53.26% 0.1323 -0.1145)
OKLCHoklch(53.26% 0.175 319.1)
XYZxyz(21.8756, 13.3217, 39.9392)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642AB #57AB42
analogous
#6242AB #9642AB #AB428C
triadic
#9642AB #AB9642 #42AB96
tetradic
#9642AB #AB6242 #57AB42 #428CAB
square
#9642AB #AB6242 #57AB42 #428CAB
split-complementary
#9642AB #8CAB42 #42AB62
monochromatic
#492053 #6F317F #9642AB #B166C4 #C892D5

Accessibility & contrast

On white

5.73
#9642AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9642AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642AB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642AB#FFFFFF#000000##FFFFFF
##9642AB1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#965370
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9642ab;
/* rgb */ color: rgb(150, 66, 171);
/* oklch */ color: oklch(53.3% 0.175 319.1);
Tailwind
colors: {
  custom: {
    50: '#b87bc4',
    500: '#9642ab',
    950: '#000000',
  },
}
SCSS
$custom: #9642ab;
$custom-light: #b87bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9642ab",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 288,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.17496,
    "h": 319.1
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#9642AB
secondary
#94C088
accent
#D4546D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9642AB

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

Preview Lab → · Contrast checker → · Palette generator →

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