#A545C1#A545C1

#A545C1 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.199 H 317.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A545C1
RGBrgb(165, 69, 193)
HSLhsl(286, 50%, 51%)
HSVhsv(286, 64%, 76%)
CMYKcmyk(14.5%, 64.2%, 0%, 24.3%)
CIE-LABlab(47.11, 57.73, -47.63)
CIE-LCHlch(47.11, 74.84, 320.48°)
OKLaboklab(56.9% 0.1471 -0.1333)
OKLCHoklch(56.9% 0.199 317.8)
XYZxyz(27.2695, 16.1070, 52.1143)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545C1 #61C145
analogous
#6745C1 #A545C1 #C1459F
triadic
#A545C1 #C1A545 #45C1A5
tetradic
#A545C1 #C16745 #61C145 #459FC1
square
#A545C1 #C16745 #61C145 #459FC1
split-complementary
#A545C1 #9FC145 #45C167
monochromatic
#592369 #803297 #A545C1 #BB73D0 #D1A1E0

Accessibility & contrast

On white

4.97
#A545C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A545C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545C1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545C1#FFFFFF#000000##FFFFFF
##A545C11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#A45B7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a545c1;
/* rgb */ color: rgb(165, 69, 193);
/* oklch */ color: oklch(56.9% 0.199 317.8);
Tailwind
colors: {
  custom: {
    50: '#c37fd4',
    500: '#a545c1',
    950: '#000000',
  },
}
SCSS
$custom: #a545c1;
$custom-light: #c37fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a545c1",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 286.452,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.19857,
    "h": 317.8
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#A545C1
secondary
#A2CC96
accent
#DA4E6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A545C1

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

Preview Lab → · Contrast checker → · Palette generator →

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