#9642BD#9642BD

#9642BD is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.193 H 313.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9642BD
RGBrgb(150, 66, 189)
HSLhsl(281, 48%, 50%)
HSVhsv(281, 65%, 74%)
CMYKcmyk(20.6%, 65.1%, 0%, 25.9%)
CIE-LABlab(44.31, 54.78, -49.90)
CIE-LCHlch(44.31, 74.10, 317.67°)
OKLaboklab(54.37% 0.1322 -0.1404)
OKLCHoklch(54.37% 0.193 313.3)
XYZxyz(23.7096, 14.0553, 49.5982)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642BD #69BD42
analogous
#5942BD #9642BD #BD42A6
triadic
#9642BD #BD9642 #42BD96
tetradic
#9642BD #BD5942 #69BD42 #42A6BD
square
#9642BD #BD5942 #69BD42 #42A6BD
split-complementary
#9642BD #A6BD42 #42BD59
monochromatic
#4E2262 #723290 #9642BD #AF6FCD #C89DDD

Accessibility & contrast

On white

5.51
#9642BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9642BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642BD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642BD#FFFFFF#000000##FFFFFF
##9642BD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3A6BBA
Tritanopia (blue-blind)
#925A7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9642bd;
/* rgb */ color: rgb(150, 66, 189);
/* oklch */ color: oklch(54.4% 0.193 313.3);
Tailwind
colors: {
  custom: {
    50: '#b87cd1',
    500: '#9642bd',
    950: '#000000',
  },
}
SCSS
$custom: #9642bd;
$custom-light: #b87cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9642bd",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 280.976,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.19283,
    "h": 313.3
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#9642BD
secondary
#A3C992
accent
#D8507B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9642BD

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

Preview Lab → · Contrast checker → · Palette generator →

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