#9645BD#9645BD

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

Color values

HEX#9645BD
RGBrgb(150, 69, 189)
HSLhsl(281, 48%, 51%)
HSVhsv(281, 63%, 74%)
CMYKcmyk(20.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(44.82, 53.38, -49.08)
CIE-LCHlch(44.82, 72.51, 317.40°)
OKLaboklab(54.74% 0.1286 -0.138)
OKLCHoklch(54.74% 0.189 313)
XYZxyz(23.8895, 14.4151, 49.6582)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645BD #6CBD45
analogous
#5A45BD #9645BD #BD45A8
triadic
#9645BD #BD9645 #45BD96
tetradic
#9645BD #BD5A45 #6CBD45 #45A8BD
square
#9645BD #BD5A45 #6CBD45 #45A8BD
split-complementary
#9645BD #A8BD45 #45BD5A
monochromatic
#4F2464 #733491 #9645BD #AF72CD #C99FDD

Accessibility & contrast

On white

5.41
#9645BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9645BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645BD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645BD#FFFFFF#000000##FFFFFF
##9645BD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#925C7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9645bd;
/* rgb */ color: rgb(150, 69, 189);
/* oklch */ color: oklch(54.7% 0.189 313.0);
Tailwind
colors: {
  custom: {
    50: '#b87ed1',
    500: '#9645bd',
    950: '#000000',
  },
}
SCSS
$custom: #9645bd;
$custom-light: #b87ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9645bd",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 280.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.18868,
    "h": 313
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9645BD

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

Preview Lab → · Contrast checker → · Palette generator →

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