#A545D5#A545D5

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

Color values

HEX#A545D5
RGBrgb(165, 69, 213)
HSLhsl(280, 63%, 55%)
HSVhsv(280, 68%, 84%)
CMYKcmyk(22.5%, 67.6%, 0%, 16.5%)
CIE-LABlab(48.34, 61.80, -57.19)
CIE-LCHlch(48.34, 84.21, 317.22°)
OKLaboklab(58.17% 0.1461 -0.1614)
OKLCHoklch(58.17% 0.218 312.2)
XYZxyz(29.6532, 17.0605, 64.6688)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D5 #75D545
analogous
#5D45D5 #A545D5 #D545BD
triadic
#A545D5 #D5A545 #45D5A5
tetradic
#A545D5 #D55D45 #75D545 #45BDD5
square
#A545D5 #D55D45 #75D545 #45BDD5
split-complementary
#A545D5 #BDD545 #45D55D
monochromatic
#611D82 #8629B4 #A545D5 #BD77E0 #D5A9EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A545D5#FFFFFF#000000##FFFFFF
##A545D51.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)
#006ED9
Deuteranopia (green-blind)
#3775D2
Tritanopia (blue-blind)
#9F6388
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a545d5;
/* rgb */ color: rgb(165, 69, 213);
/* oklch */ color: oklch(58.2% 0.218 312.2);
Tailwind
colors: {
  custom: {
    50: '#c480e3',
    500: '#a545d5',
    950: '#000000',
  },
}
SCSS
$custom: #a545d5;
$custom-light: #c480e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d5",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 280,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.2177,
    "h": 312.2
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#A545D5
secondary
#B1D99D
accent
#E64278
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A545D5

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

Preview Lab → · Contrast checker → · Palette generator →

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