#A545D1#A545D1

#A545D1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.214 H 313.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A545D1
RGBrgb(165, 69, 209)
HSLhsl(281, 60%, 55%)
HSVhsv(281, 67%, 82%)
CMYKcmyk(21.1%, 67%, 0%, 18%)
CIE-LABlab(48.08, 60.97, -55.31)
CIE-LCHlch(48.08, 82.32, 317.79°)
OKLaboklab(57.91% 0.1465 -0.1558)
OKLCHoklch(57.91% 0.214 313.2)
XYZxyz(29.1518, 16.8599, 62.0279)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D1 #71D145
analogous
#5F45D1 #A545D1 #D145B7
triadic
#A545D1 #D1A545 #45D1A5
tetradic
#A545D1 #D15F45 #71D145 #45B7D1
square
#A545D1 #D15F45 #71D145 #45B7D1
split-complementary
#A545D1 #B7D145 #45D15F
monochromatic
#5F1F7D #852BAE #A545D1 #BD76DD #D4A7E9

Accessibility & contrast

On white

4.80
#A545D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A545D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D1#FFFFFF#000000##FFFFFF
##A545D11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a545d1;
/* rgb */ color: rgb(165, 69, 209);
/* oklch */ color: oklch(57.9% 0.214 313.2);
Tailwind
colors: {
  custom: {
    50: '#c480e0',
    500: '#a545d1',
    950: '#000000',
  },
}
SCSS
$custom: #a545d1;
$custom-light: #c480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d1",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 281.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.21385,
    "h": 313.2
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#A545D1
secondary
#AED79B
accent
#E34476
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545D1

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

Preview Lab → · Contrast checker → · Palette generator →

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