#9645BE#9645BE

#9645BE is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.190 H 312.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9645BE
RGBrgb(150, 69, 190)
HSLhsl(280, 48%, 51%)
HSVhsv(280, 64%, 75%)
CMYKcmyk(21.1%, 63.7%, 0%, 25.5%)
CIE-LABlab(44.88, 53.59, -49.57)
CIE-LCHlch(44.88, 73.00, 317.24°)
OKLaboklab(54.81% 0.1286 -0.1395)
OKLCHoklch(54.81% 0.19 312.7)
XYZxyz(23.9984, 14.4586, 50.2318)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645BE #6DBE45
analogous
#5945BE #9645BE #BE45A9
triadic
#9645BE #BE9645 #45BE96
tetradic
#9645BE #BE5945 #6DBE45 #45A9BE
square
#9645BE #BE5945 #6DBE45 #45A9BE
split-complementary
#9645BE #A9BE45 #45BE59
monochromatic
#4F2365 #733393 #9645BE #B072CE #C9A0DE

Accessibility & contrast

On white

5.40
#9645BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9645BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645BE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645BE#FFFFFF#000000##FFFFFF
##9645BE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9645be;
/* rgb */ color: rgb(150, 69, 190);
/* oklch */ color: oklch(54.8% 0.190 312.7);
Tailwind
colors: {
  custom: {
    50: '#b87ed2',
    500: '#9645be',
    950: '#000000',
  },
}
SCSS
$custom: #9645be;
$custom-light: #b87ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9645be",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 280.165,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.1897,
    "h": 312.7
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#9645BE
secondary
#A6CA95
accent
#D8507D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9645BE

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

Preview Lab → · Contrast checker → · Palette generator →

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