#9642BB#9642BB

#9642BB is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.2% C 0.191 H 313.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9642BB
RGBrgb(150, 66, 187)
HSLhsl(282, 48%, 50%)
HSVhsv(282, 65%, 73%)
CMYKcmyk(19.8%, 64.7%, 0%, 26.7%)
CIE-LABlab(44.19, 54.36, -48.93)
CIE-LCHlch(44.19, 73.14, 318.01°)
OKLaboklab(54.24% 0.1322 -0.1376)
OKLCHoklch(54.24% 0.191 313.9)
XYZxyz(23.4940, 13.9690, 48.4628)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642BB #67BB42
analogous
#5A42BB #9642BB #BB42A4
triadic
#9642BB #BB9642 #42BB96
tetradic
#9642BB #BB5A42 #67BB42 #42A4BB
square
#9642BB #BB5A42 #67BB42 #42A4BB
split-complementary
#9642BB #A4BB42 #42BB5A
monochromatic
#4D2261 #72328E #9642BB #AF6ECC #C89CDC

Accessibility & contrast

On white

5.54
#9642BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9642BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642BB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642BB#FFFFFF#000000##FFFFFF
##9642BB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#3C6BB8
Tritanopia (blue-blind)
#935979
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9642bb;
/* rgb */ color: rgb(150, 66, 187);
/* oklch */ color: oklch(54.2% 0.191 313.9);
Tailwind
colors: {
  custom: {
    50: '#b87cd0',
    500: '#9642bb',
    950: '#000000',
  },
}
SCSS
$custom: #9642bb;
$custom-light: #b87cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9642bb",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 281.653,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.19083,
    "h": 313.9
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#9642BB
secondary
#A2C891
accent
#D7507A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9642BB

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

Preview Lab → · Contrast checker → · Palette generator →

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