#A545C7#A545C7

#A545C7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.3% C 0.204 H 316.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A545C7
RGBrgb(165, 69, 199)
HSLhsl(284, 54%, 53%)
HSVhsv(284, 65%, 78%)
CMYKcmyk(17.1%, 65.3%, 0%, 22%)
CIE-LABlab(47.47, 58.93, -50.53)
CIE-LCHlch(47.47, 77.63, 319.39°)
OKLaboklab(57.27% 0.147 -0.1418)
OKLCHoklch(57.27% 0.204 316)
XYZxyz(27.9524, 16.3801, 55.7110)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545C7 #67C745
analogous
#6445C7 #A545C7 #C745A8
triadic
#A545C7 #C7A545 #45C7A5
tetradic
#A545C7 #C76445 #67C745 #45A8C7
square
#A545C7 #C76445 #67C745 #45A8C7
split-complementary
#A545C7 #A8C745 #45C764
monochromatic
#5B2270 #82309F #A545C7 #BC74D5 #D3A3E3

Accessibility & contrast

On white

4.91
#A545C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A545C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545C7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545C7#FFFFFF#000000##FFFFFF
##A545C71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#A35D80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545c7;
/* rgb */ color: rgb(165, 69, 199);
/* oklch */ color: oklch(57.3% 0.204 316.0);
Tailwind
colors: {
  custom: {
    50: '#c37fd9',
    500: '#a545c7',
    950: '#000000',
  },
}
SCSS
$custom: #a545c7;
$custom-light: #c37fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a545c7",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 284.308,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.20427,
    "h": 316
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#A545C7
secondary
#A6D098
accent
#DD4B71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545C7

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

Preview Lab → · Contrast checker → · Palette generator →

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