#A545D3#A545D3

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

Color values

HEX#A545D3
RGBrgb(165, 69, 211)
HSLhsl(281, 62%, 55%)
HSVhsv(281, 67%, 83%)
CMYKcmyk(21.8%, 67.3%, 0%, 17.3%)
CIE-LABlab(48.21, 61.39, -56.25)
CIE-LCHlch(48.21, 83.26, 317.50°)
OKLaboklab(58.04% 0.1463 -0.1586)
OKLCHoklch(58.04% 0.216 312.7)
XYZxyz(29.4010, 16.9596, 63.3401)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D3 #73D345
analogous
#5E45D3 #A545D3 #D345BA
triadic
#A545D3 #D3A545 #45D3A5
tetradic
#A545D3 #D35E45 #73D345 #45BAD3
square
#A545D3 #D35E45 #73D345 #45BAD3
split-complementary
#A545D3 #BAD345 #45D35E
monochromatic
#601E7F #852AB1 #A545D3 #BD76DF #D5A8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A545D3#FFFFFF#000000##FFFFFF
##A545D31.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)
#006ED7
Deuteranopia (green-blind)
#3975D0
Tritanopia (blue-blind)
#A06287
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a545d3;
/* rgb */ color: rgb(165, 69, 211);
/* oklch */ color: oklch(58.0% 0.216 312.7);
Tailwind
colors: {
  custom: {
    50: '#c480e1',
    500: '#a545d3',
    950: '#000000',
  },
}
SCSS
$custom: #a545d3;
$custom-light: #c480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d3",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 280.563,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.21578,
    "h": 312.7
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A545D3

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

Preview Lab → · Contrast checker → · Palette generator →

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