#A645AA#A645AA

#A645AA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.178 H 326.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A645AA
RGBrgb(166, 69, 170)
HSLhsl(298, 42%, 47%)
HSVhsv(298, 59%, 67%)
CMYKcmyk(2.4%, 59.4%, 0%, 33.3%)
CIE-LABlab(46.00, 53.59, -35.92)
CIE-LCHlch(46.00, 64.52, 326.17°)
OKLaboklab(55.71% 0.1475 -0.0993)
OKLCHoklch(55.71% 0.178 326.1)
XYZxyz(25.1092, 15.2670, 39.6467)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645AA #49AA45
analogous
#7445AA #A645AA #AA457C
triadic
#A645AA #AAA645 #45AAA6
tetradic
#A645AA #AA7445 #49AA45 #457CAA
square
#A645AA #AA7445 #49AA45 #457CAA
split-complementary
#A645AA #7CAA45 #45AA74
monochromatic
#512253 #7B337E #A645AA #BF6AC2 #D295D4

Accessibility & contrast

On white

5.18
#A645AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A645AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645AA#FFFFFF#000000##FFFFFF
##A645AA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#AA5271
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a645aa;
/* rgb */ color: rgb(166, 69, 170);
/* oklch */ color: oklch(55.7% 0.178 326.1);
Tailwind
colors: {
  custom: {
    50: '#c37fc3',
    500: '#a645aa',
    950: '#000000',
  },
}
SCSS
$custom: #a645aa;
$custom-light: #c37fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a645aa",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 297.624,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.17782,
    "h": 326.1
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#A645AA
secondary
#8DC08B
accent
#D2565B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A645AA

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

Preview Lab → · Contrast checker → · Palette generator →

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