#A545C9#A545C9

#A545C9 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.4% C 0.206 H 315.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A545C9
RGBrgb(165, 69, 201)
HSLhsl(284, 55%, 53%)
HSVhsv(284, 66%, 79%)
CMYKcmyk(17.9%, 65.7%, 0%, 21.2%)
CIE-LABlab(47.59, 59.33, -51.50)
CIE-LCHlch(47.59, 78.56, 319.05°)
OKLaboklab(57.4% 0.1469 -0.1447)
OKLCHoklch(57.4% 0.206 315.4)
XYZxyz(28.1861, 16.4736, 56.9420)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545C9 #69C945
analogous
#6345C9 #A545C9 #C945AB
triadic
#A545C9 #C9A545 #45C9A5
tetradic
#A545C9 #C96345 #69C945 #45ABC9
square
#A545C9 #C96345 #69C945 #45ABC9
split-complementary
#A545C9 #ABC945 #45C963
monochromatic
#5C2172 #822FA2 #A545C9 #BC74D7 #D3A4E5

Accessibility & contrast

On white

4.89
#A545C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A545C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545C9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545C9#FFFFFF#000000##FFFFFF
##A545C91.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCD
Deuteranopia (green-blind)
#4374C6
Tritanopia (blue-blind)
#A25E81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545c9;
/* rgb */ color: rgb(165, 69, 201);
/* oklch */ color: oklch(57.4% 0.206 315.4);
Tailwind
colors: {
  custom: {
    50: '#c37fda',
    500: '#a545c9',
    950: '#000000',
  },
}
SCSS
$custom: #a545c9;
$custom-light: #c37fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a545c9",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 283.636,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.20618,
    "h": 315.4
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#A545C9
secondary
#A8D198
accent
#DE4972
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545C9

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

Preview Lab → · Contrast checker → · Palette generator →

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