#9645BC#9645BC

#9645BC is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.188 H 313.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9645BC
RGBrgb(150, 69, 188)
HSLhsl(281, 47%, 50%)
HSVhsv(281, 63%, 74%)
CMYKcmyk(20.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(44.76, 53.16, -48.60)
CIE-LCHlch(44.76, 72.03, 317.57°)
OKLaboklab(54.68% 0.1286 -0.1366)
OKLCHoklch(54.68% 0.188 313.3)
XYZxyz(23.7813, 14.3718, 49.0885)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645BC #6BBC45
analogous
#5A45BC #9645BC #BC45A7
triadic
#9645BC #BC9645 #45BC96
tetradic
#9645BC #BC5A45 #6BBC45 #45A7BC
square
#9645BC #BC5A45 #6BBC45 #45A7BC
split-complementary
#9645BC #A7BC45 #45BC5A
monochromatic
#4F2463 #733490 #9645BC #AF72CC #C99FDC

Accessibility & contrast

On white

5.42
#9645BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9645BC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645BC#FFFFFF#000000##FFFFFF
##9645BC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#925B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9645bc;
/* rgb */ color: rgb(150, 69, 188);
/* oklch */ color: oklch(54.7% 0.188 313.3);
Tailwind
colors: {
  custom: {
    50: '#b87ed1',
    500: '#9645bc',
    950: '#000000',
  },
}
SCSS
$custom: #9645bc;
$custom-light: #b87ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9645bc",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 280.84,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.18766,
    "h": 313.3
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#9645BC
secondary
#A5C994
accent
#D7517C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9645BC

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

Preview Lab → · Contrast checker → · Palette generator →

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