#A545A0#A545A0

#A545A0 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.168 H 329.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A545A0
RGBrgb(165, 69, 160)
HSLhsl(303, 41%, 46%)
HSVhsv(303, 58%, 65%)
CMYKcmyk(0%, 58.2%, 3%, 35.3%)
CIE-LABlab(45.35, 51.54, -31.02)
CIE-LCHlch(45.35, 60.15, 328.96°)
OKLaboklab(55.05% 0.1453 -0.0852)
OKLCHoklch(55.05% 0.168 329.6)
XYZxyz(23.9901, 14.7952, 34.8431)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545A0 #45A54A
analogous
#7A45A5 #A545A0 #A54570
triadic
#A545A0 #A0A545 #45A0A5
tetradic
#A545A0 #A57A45 #45A54A #4570A5
square
#A545A0 #A57A45 #45A54A #4570A5
split-complementary
#A545A0 #70A545 #45A57A
monochromatic
#4F214C #7A3376 #A545A0 #C068BB #D293CE

Accessibility & contrast

On white

5.30
#A545A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A545A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545A0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545A0#FFFFFF#000000##FFFFFF
##A545A01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#5D709D
Tritanopia (blue-blind)
#AB4F6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a545a0;
/* rgb */ color: rgb(165, 69, 160);
/* oklch */ color: oklch(55.1% 0.168 329.6);
Tailwind
colors: {
  custom: {
    50: '#c27ebc',
    500: '#a545a0',
    950: '#000000',
  },
}
SCSS
$custom: #a545a0;
$custom-light: #c27ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a545a0",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 303.125,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.16845,
    "h": 329.6
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#A545A0
secondary
#88BD8B
accent
#D15D57
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A545A0

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

Preview Lab → · Contrast checker → · Palette generator →

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