#9642BC#9642BC

#9642BC is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.192 H 313.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9642BC
RGBrgb(150, 66, 188)
HSLhsl(281, 48%, 50%)
HSVhsv(281, 65%, 74%)
CMYKcmyk(20.2%, 64.9%, 0%, 26.3%)
CIE-LABlab(44.25, 54.57, -49.41)
CIE-LCHlch(44.25, 73.62, 317.84°)
OKLaboklab(54.31% 0.1322 -0.139)
OKLCHoklch(54.31% 0.192 313.6)
XYZxyz(23.6014, 14.0120, 49.0285)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642BC #68BC42
analogous
#5942BC #9642BC #BC42A5
triadic
#9642BC #BC9642 #42BC96
tetradic
#9642BC #BC5942 #68BC42 #42A5BC
square
#9642BC #BC5942 #68BC42 #42A5BC
split-complementary
#9642BC #A5BC42 #42BC59
monochromatic
#4E2261 #72328F #9642BC #AF6FCC #C89CDC

Accessibility & contrast

On white

5.52
#9642BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9642BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642BC#FFFFFF#000000##FFFFFF
##9642BC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#3B6BB9
Tritanopia (blue-blind)
#925979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9642bc;
/* rgb */ color: rgb(150, 66, 188);
/* oklch */ color: oklch(54.3% 0.192 313.6);
Tailwind
colors: {
  custom: {
    50: '#b87cd1',
    500: '#9642bc',
    950: '#000000',
  },
}
SCSS
$custom: #9642bc;
$custom-light: #b87cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9642bc",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 281.311,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.19183,
    "h": 313.6
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#9642BC
secondary
#A2C991
accent
#D8507A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9642BC

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

Preview Lab → · Contrast checker → · Palette generator →

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