#A645D6#A645D6

#A645D6 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.219 H 312.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A645D6
RGBrgb(166, 69, 214)
HSLhsl(280, 64%, 55%)
HSVhsv(280, 68%, 84%)
CMYKcmyk(22.4%, 67.8%, 0%, 16.1%)
CIE-LABlab(48.53, 62.22, -57.44)
CIE-LCHlch(48.53, 84.68, 317.29°)
OKLaboklab(58.36% 0.1473 -0.162)
OKLCHoklch(58.36% 0.219 312.3)
XYZxyz(29.9894, 17.2191, 65.3491)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645D6 #75D645
analogous
#5D45D6 #A645D6 #D645BD
triadic
#A645D6 #D6A645 #45D6A6
tetradic
#A645D6 #D65D45 #75D645 #45BDD6
square
#A645D6 #D65D45 #75D645 #45BDD6
split-complementary
#A645D6 #BDD645 #45D65D
monochromatic
#621D84 #8728B6 #A645D6 #BE77E1 #D6A9EC

Accessibility & contrast

On white

4.73
#A645D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A645D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645D6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645D6#FFFFFF#000000##FFFFFF
##A645D61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3775D3
Tritanopia (blue-blind)
#A16388
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a645d6;
/* rgb */ color: rgb(166, 69, 214);
/* oklch */ color: oklch(58.4% 0.219 312.3);
Tailwind
colors: {
  custom: {
    50: '#c580e3',
    500: '#a645d6',
    950: '#000000',
  },
}
SCSS
$custom: #a645d6;
$custom-light: #c580e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a645d6",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 280.138,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58363,
    "c": 0.219,
    "h": 312.3
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#A645D6
secondary
#B1DA9D
accent
#E74178
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A645D6

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

Preview Lab → · Contrast checker → · Palette generator →

#A645D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva