#A645D1#A645D1

#A645D1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.214 H 313.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A645D1
RGBrgb(166, 69, 209)
HSLhsl(282, 60%, 55%)
HSVhsv(282, 67%, 82%)
CMYKcmyk(20.6%, 67%, 0%, 18%)
CIE-LABlab(48.22, 61.19, -55.08)
CIE-LCHlch(48.22, 82.33, 318.01°)
OKLaboklab(58.04% 0.1477 -0.1551)
OKLCHoklch(58.04% 0.214 313.6)
XYZxyz(29.3607, 16.9676, 62.0377)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645D1 #70D145
analogous
#6045D1 #A645D1 #D145B6
triadic
#A645D1 #D1A645 #45D1A6
tetradic
#A645D1 #D16045 #70D145 #45B6D1
square
#A645D1 #D16045 #70D145 #45B6D1
split-complementary
#A645D1 #B6D145 #45D160
monochromatic
#601F7D #862BAE #A645D1 #BD76DD #D5A7E9

Accessibility & contrast

On white

4.78
#A645D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A645D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645D1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645D1#FFFFFF#000000##FFFFFF
##A645D11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#3D75CE
Tritanopia (blue-blind)
#A26186
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a645d1;
/* rgb */ color: rgb(166, 69, 209);
/* oklch */ color: oklch(58.0% 0.214 313.6);
Tailwind
colors: {
  custom: {
    50: '#c480e0',
    500: '#a645d1',
    950: '#000000',
  },
}
SCSS
$custom: #a645d1;
$custom-light: #c480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a645d1",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 281.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.2142,
    "h": 313.6
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#A645D1
secondary
#ADD79B
accent
#E34475
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A645D1

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

Preview Lab → · Contrast checker → · Palette generator →

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