#9645BB#9645BB

#9645BB is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.6% C 0.187 H 313.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9645BB
RGBrgb(150, 69, 187)
HSLhsl(281, 46%, 50%)
HSVhsv(281, 63%, 73%)
CMYKcmyk(19.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(44.70, 52.95, -48.11)
CIE-LCHlch(44.70, 71.54, 317.74°)
OKLaboklab(54.61% 0.1287 -0.1352)
OKLCHoklch(54.61% 0.187 313.6)
XYZxyz(23.6739, 14.3288, 48.5227)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645BB #6ABB45
analogous
#5B45BB #9645BB #BB45A5
triadic
#9645BB #BB9645 #45BB96
tetradic
#9645BB #BB5B45 #6ABB45 #45A5BB
square
#9645BB #BB5B45 #6ABB45 #45A5BB
split-complementary
#9645BB #A5BB45 #45BB5B
monochromatic
#4E2462 #72348F #9645BB #AF72CB #C99FDC

Accessibility & contrast

On white

5.43
#9645BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9645BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645BB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645BB#FFFFFF#000000##FFFFFF
##9645BB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#925B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9645bb;
/* rgb */ color: rgb(150, 69, 187);
/* oklch */ color: oklch(54.6% 0.187 313.6);
Tailwind
colors: {
  custom: {
    50: '#b87ed0',
    500: '#9645bb',
    950: '#000000',
  },
}
SCSS
$custom: #9645bb;
$custom-light: #b87ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9645bb",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 281.186,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.18663,
    "h": 313.6
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#9645BB
secondary
#A4C894
accent
#D6527B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9645BB

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

Preview Lab → · Contrast checker → · Palette generator →

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