#A645C8#A645C8

#A645C8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.206 H 316.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A645C8
RGBrgb(166, 69, 200)
HSLhsl(284, 54%, 53%)
HSVhsv(284, 66%, 78%)
CMYKcmyk(17%, 65.5%, 0%, 21.6%)
CIE-LABlab(47.67, 59.36, -50.79)
CIE-LCHlch(47.67, 78.12, 319.45°)
OKLaboklab(57.46% 0.1482 -0.1426)
OKLCHoklch(57.46% 0.206 316.1)
XYZxyz(28.2777, 16.5344, 56.3343)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645C8 #67C845
analogous
#6445C8 #A645C8 #C845A9
triadic
#A645C8 #C8A645 #45C8A6
tetradic
#A645C8 #C86445 #67C845 #45A9C8
square
#A645C8 #C86445 #67C845 #45A9C8
split-complementary
#A645C8 #A9C845 #45C864
monochromatic
#5C2171 #832FA0 #A645C8 #BD74D6 #D3A3E4

Accessibility & contrast

On white

4.88
#A645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A645C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645C8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645C8#FFFFFF#000000##FFFFFF
##A645C81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086BCC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#A45E81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a645c8;
/* rgb */ color: rgb(166, 69, 200);
/* oklch */ color: oklch(57.5% 0.206 316.1);
Tailwind
colors: {
  custom: {
    50: '#c47fd9',
    500: '#a645c8',
    950: '#000000',
  },
}
SCSS
$custom: #a645c8;
$custom-light: #c47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a645c8",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 284.427,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.20562,
    "h": 316.1
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#A645C8
secondary
#A7D198
accent
#DE4A70
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A645C8

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

Preview Lab → · Contrast checker → · Palette generator →

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