#A645BD#A645BD

#A645BD is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.195 H 319.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A645BD
RGBrgb(166, 69, 189)
HSLhsl(289, 48%, 51%)
HSVhsv(289, 63%, 74%)
CMYKcmyk(12.2%, 63.5%, 0%, 25.9%)
CIE-LABlab(47.03, 57.18, -45.44)
CIE-LCHlch(47.03, 73.03, 321.53°)
OKLaboklab(56.79% 0.1484 -0.1269)
OKLCHoklch(56.79% 0.195 319.5)
XYZxyz(27.0381, 16.0386, 49.8058)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645BD #5CBD45
analogous
#6A45BD #A645BD #BD4598
triadic
#A645BD #BDA645 #45BDA6
tetradic
#A645BD #BD6A45 #5CBD45 #4598BD
square
#A645BD #BD6A45 #5CBD45 #4598BD
split-complementary
#A645BD #98BD45 #45BD6A
monochromatic
#582464 #7F3491 #A645BD #BC72CD #D19FDD

Accessibility & contrast

On white

4.99
#A645BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A645BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645BD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645BD#FFFFFF#000000##FFFFFF
##A645BD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#A6597B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a645bd;
/* rgb */ color: rgb(166, 69, 189);
/* oklch */ color: oklch(56.8% 0.195 319.5);
Tailwind
colors: {
  custom: {
    50: '#c47fd1',
    500: '#a645bd',
    950: '#000000',
  },
}
SCSS
$custom: #a645bd;
$custom-light: #c47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a645bd",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 288.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.19524,
    "h": 319.5
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#A645BD
secondary
#9ECA94
accent
#D7516A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A645BD

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

Preview Lab → · Contrast checker → · Palette generator →

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