#A545C3#A545C3

#A545C3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.0% C 0.200 H 317.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A545C3
RGBrgb(165, 69, 195)
HSLhsl(286, 51%, 52%)
HSVhsv(286, 65%, 76%)
CMYKcmyk(15.4%, 64.6%, 0%, 23.5%)
CIE-LABlab(47.23, 58.13, -48.60)
CIE-LCHlch(47.23, 75.77, 320.10°)
OKLaboklab(57.03% 0.1471 -0.1362)
OKLCHoklch(57.03% 0.2 317.2)
XYZxyz(27.4941, 16.1968, 53.2972)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545C3 #63C345
analogous
#6645C3 #A545C3 #C345A2
triadic
#A545C3 #C3A545 #45C3A5
tetradic
#A545C3 #C36645 #63C345 #45A2C3
square
#A545C3 #C36645 #63C345 #45A2C3
split-complementary
#A545C3 #A2C345 #45C366
monochromatic
#5A236B #813199 #A545C3 #BB73D2 #D2A2E1

Accessibility & contrast

On white

4.95
#A545C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A545C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545C3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545C3#FFFFFF#000000##FFFFFF
##A545C31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166AC7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#A45C7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a545c3;
/* rgb */ color: rgb(165, 69, 195);
/* oklch */ color: oklch(57.0% 0.200 317.2);
Tailwind
colors: {
  custom: {
    50: '#c37fd6',
    500: '#a545c3',
    950: '#000000',
  },
}
SCSS
$custom: #a545c3;
$custom-light: #c37fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a545c3",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 285.714,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.20047,
    "h": 317.2
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#A545C3
secondary
#A3CE96
accent
#DB4D6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A545C3

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

Preview Lab → · Contrast checker → · Palette generator →

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