#A545A9#A545A9

#A545A9 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.176 H 326.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A545A9
RGBrgb(165, 69, 169)
HSLhsl(298, 42%, 47%)
HSVhsv(298, 59%, 66%)
CMYKcmyk(2.4%, 59.2%, 0%, 33.7%)
CIE-LABlab(45.80, 53.15, -35.65)
CIE-LCHlch(45.80, 64.00, 326.14°)
OKLaboklab(55.52% 0.1463 -0.0985)
OKLCHoklch(55.52% 0.176 326)
XYZxyz(24.8061, 15.1216, 39.1406)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545A9 #49A945
analogous
#7345A9 #A545A9 #A9457B
triadic
#A545A9 #A9A545 #45A9A5
tetradic
#A545A9 #A97345 #49A945 #457BA9
square
#A545A9 #A97345 #49A945 #457BA9
split-complementary
#A545A9 #7BA945 #45A973
monochromatic
#502252 #7B337E #A545A9 #BE69C2 #D195D4

Accessibility & contrast

On white

5.22
#A545A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A545A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545A9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545A9#FFFFFF#000000##FFFFFF
##A545A91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#A95270
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a545a9;
/* rgb */ color: rgb(165, 69, 169);
/* oklch */ color: oklch(55.5% 0.176 326.0);
Tailwind
colors: {
  custom: {
    50: '#c27ec3',
    500: '#a545a9',
    950: '#000000',
  },
}
SCSS
$custom: #a545a9;
$custom-light: #c27ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a545a9",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 297.6,
    "s": 42.017,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.17637,
    "h": 326
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#A545A9
secondary
#8DBF8A
accent
#D2565B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A545A9

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

Preview Lab → · Contrast checker → · Palette generator →

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