#A545BD#A545BD

#A545BD is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.195 H 319.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A545BD
RGBrgb(165, 69, 189)
HSLhsl(288, 48%, 51%)
HSVhsv(288, 63%, 74%)
CMYKcmyk(12.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(46.88, 56.94, -45.67)
CIE-LCHlch(46.88, 72.99, 321.27°)
OKLaboklab(56.66% 0.1472 -0.1276)
OKLCHoklch(56.66% 0.195 319.1)
XYZxyz(26.8293, 15.9309, 49.7960)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545BD #5DBD45
analogous
#6945BD #A545BD #BD4599
triadic
#A545BD #BDA545 #45BDA5
tetradic
#A545BD #BD6945 #5DBD45 #4599BD
square
#A545BD #BD6945 #5DBD45 #4599BD
split-complementary
#A545BD #99BD45 #45BD69
monochromatic
#572464 #7F3491 #A545BD #BB72CD #D19FDD

Accessibility & contrast

On white

5.02
#A545BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A545BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545BD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545BD#FFFFFF#000000##FFFFFF
##A545BD1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C1
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#A5597B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a545bd;
/* rgb */ color: rgb(165, 69, 189);
/* oklch */ color: oklch(56.7% 0.195 319.1);
Tailwind
colors: {
  custom: {
    50: '#c37fd1',
    500: '#a545bd',
    950: '#000000',
  },
}
SCSS
$custom: #a545bd;
$custom-light: #c37fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a545bd",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 288,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.1948,
    "h": 319.1
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#A545BD
secondary
#9FCA94
accent
#D7516C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A545BD

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

Preview Lab → · Contrast checker → · Palette generator →

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