#A645A5#A645A5

#A645A5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.4% C 0.173 H 328.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A645A5
RGBrgb(166, 69, 165)
HSLhsl(301, 41%, 46%)
HSVhsv(301, 58%, 65%)
CMYKcmyk(0%, 58.4%, 0.6%, 34.9%)
CIE-LABlab(45.75, 52.69, -33.36)
CIE-LCHlch(45.75, 62.37, 327.66°)
OKLaboklab(55.45% 0.1471 -0.0919)
OKLCHoklch(55.45% 0.173 328)
XYZxyz(24.6452, 15.0814, 37.2029)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645A5 #45A646
analogous
#7645A6 #A645A5 #A64574
triadic
#A645A5 #A5A645 #45A5A6
tetradic
#A645A5 #A67645 #45A646 #4574A6
square
#A645A5 #A67645 #45A646 #4574A6
split-complementary
#A645A5 #74A645 #45A676
monochromatic
#50214F #7B337A #A645A5 #C068BF #D293D2

Accessibility & contrast

On white

5.23
#A645A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A645A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645A5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645A5#FFFFFF#000000##FFFFFF
##A645A51.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#5B71A2
Tritanopia (blue-blind)
#AB506E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a645a5;
/* rgb */ color: rgb(166, 69, 165);
/* oklch */ color: oklch(55.4% 0.173 328.0);
Tailwind
colors: {
  custom: {
    50: '#c37ec0',
    500: '#a645a5',
    950: '#000000',
  },
}
SCSS
$custom: #a645a5;
$custom-light: #c37ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a645a5",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 300.619,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.1734,
    "h": 328
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#A645A5
secondary
#89BE89
accent
#D15857
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A645A5

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

Preview Lab → · Contrast checker → · Palette generator →

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