#A645D3#A645D3

#A645D3 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.216 H 313.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A645D3
RGBrgb(166, 69, 211)
HSLhsl(281, 62%, 55%)
HSVhsv(281, 67%, 83%)
CMYKcmyk(21.3%, 67.3%, 0%, 17.3%)
CIE-LABlab(48.34, 61.60, -56.03)
CIE-LCHlch(48.34, 83.27, 317.71°)
OKLaboklab(58.17% 0.1476 -0.1579)
OKLCHoklch(58.17% 0.216 313.1)
XYZxyz(29.6098, 17.0673, 63.3499)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645D3 #72D345
analogous
#5F45D3 #A645D3 #D345B9
triadic
#A645D3 #D3A645 #45D3A6
tetradic
#A645D3 #D35F45 #72D345 #45B9D3
square
#A645D3 #D35F45 #72D345 #45B9D3
split-complementary
#A645D3 #B9D345 #45D35F
monochromatic
#611E7F #862AB1 #A645D3 #BE76DF #D5A8EA

Accessibility & contrast

On white

4.76
#A645D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A645D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645D3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645D3#FFFFFF#000000##FFFFFF
##A645D31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#A16287
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a645d3;
/* rgb */ color: rgb(166, 69, 211);
/* oklch */ color: oklch(58.2% 0.216 313.1);
Tailwind
colors: {
  custom: {
    50: '#c480e1',
    500: '#a645d3',
    950: '#000000',
  },
}
SCSS
$custom: #a645d3;
$custom-light: #c480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a645d3",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 280.986,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.21612,
    "h": 313.1
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#A645D3
secondary
#AFD89C
accent
#E54376
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A645D3

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

Preview Lab → · Contrast checker → · Palette generator →

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