#A545D2#A545D2

#A545D2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.215 H 313.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A545D2
RGBrgb(165, 69, 210)
HSLhsl(281, 61%, 55%)
HSVhsv(281, 67%, 82%)
CMYKcmyk(21.4%, 67.1%, 0%, 17.6%)
CIE-LABlab(48.15, 61.18, -55.78)
CIE-LCHlch(48.15, 82.79, 317.64°)
OKLaboklab(57.98% 0.1464 -0.1572)
OKLCHoklch(57.98% 0.215 313)
XYZxyz(29.2760, 16.9096, 62.6820)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D2 #72D245
analogous
#5F45D2 #A545D2 #D245B9
triadic
#A545D2 #D2A545 #45D2A5
tetradic
#A545D2 #D25F45 #72D245 #45B9D2
square
#A545D2 #D25F45 #72D245 #45B9D2
split-complementary
#A545D2 #B9D245 #45D25F
monochromatic
#601F7E #852AAF #A545D2 #BD76DE #D5A8EA

Accessibility & contrast

On white

4.79
#A545D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A545D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D2#FFFFFF#000000##FFFFFF
##A545D21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3A74CF
Tritanopia (blue-blind)
#A06286
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a545d2;
/* rgb */ color: rgb(165, 69, 210);
/* oklch */ color: oklch(58.0% 0.215 313.0);
Tailwind
colors: {
  custom: {
    50: '#c480e0',
    500: '#a545d2',
    950: '#000000',
  },
}
SCSS
$custom: #a545d2;
$custom-light: #c480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d2",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 280.851,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.21481,
    "h": 313
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#A545D2
secondary
#AFD79C
accent
#E44477
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545D2

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

Preview Lab → · Contrast checker → · Palette generator →

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