#9642BF#9642BF

#9642BF is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.195 H 312.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9642BF
RGBrgb(150, 66, 191)
HSLhsl(280, 49%, 50%)
HSVhsv(280, 65%, 75%)
CMYKcmyk(21.5%, 65.4%, 0%, 25.1%)
CIE-LABlab(44.44, 55.21, -50.87)
CIE-LCHlch(44.44, 75.07, 317.35°)
OKLaboklab(54.5% 0.1321 -0.1433)
OKLCHoklch(54.5% 0.195 312.7)
XYZxyz(23.9282, 14.1427, 50.7494)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642BF #6BBF42
analogous
#5742BF #9642BF #BF42A9
triadic
#9642BF #BF9642 #42BF96
tetradic
#9642BF #BF5742 #6BBF42 #42A9BF
square
#9642BF #BF5742 #6BBF42 #42A9BF
split-complementary
#9642BF #A9BF42 #42BF57
monochromatic
#4F2265 #733292 #9642BF #AF70CE #C99DDE

Accessibility & contrast

On white

5.49
#9642BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9642BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642BF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642BF#FFFFFF#000000##FFFFFF
##9642BF1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#925B7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9642bf;
/* rgb */ color: rgb(150, 66, 191);
/* oklch */ color: oklch(54.5% 0.195 312.7);
Tailwind
colors: {
  custom: {
    50: '#b87cd3',
    500: '#9642bf',
    950: '#000000',
  },
}
SCSS
$custom: #9642bf;
$custom-light: #b87cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9642bf",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 280.32,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.19483,
    "h": 312.7
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#9642BF
secondary
#A5CA93
accent
#D94F7C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9642BF

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

Preview Lab → · Contrast checker → · Palette generator →

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