#A545BA#A545BA

#A545BA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.192 H 320.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A545BA
RGBrgb(165, 69, 186)
HSLhsl(289, 46%, 50%)
HSVhsv(289, 63%, 73%)
CMYKcmyk(11.3%, 62.9%, 0%, 27.1%)
CIE-LABlab(46.71, 56.35, -44.19)
CIE-LCHlch(46.71, 71.61, 321.90°)
OKLaboklab(56.48% 0.1471 -0.1233)
OKLCHoklch(56.48% 0.192 320)
XYZxyz(26.5070, 15.8020, 48.0987)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545BA #5ABA45
analogous
#6B45BA #A545BA #BA4594
triadic
#A545BA #BAA545 #45BAA5
tetradic
#A545BA #BA6B45 #5ABA45 #4594BA
square
#A545BA #BA6B45 #5ABA45 #4594BA
split-complementary
#A545BA #94BA45 #45BA6B
monochromatic
#562461 #7D348D #A545BA #BB72CB #D09EDB

Accessibility & contrast

On white

5.05
#A545BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A545BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545BA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545BA#FFFFFF#000000##FFFFFF
##A545BA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#A65879
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a545ba;
/* rgb */ color: rgb(165, 69, 186);
/* oklch */ color: oklch(56.5% 0.192 320.0);
Tailwind
colors: {
  custom: {
    50: '#c37fcf',
    500: '#a545ba',
    950: '#000000',
  },
}
SCSS
$custom: #a545ba;
$custom-light: #c37fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a545ba",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 289.231,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.19198,
    "h": 320
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#A545BA
secondary
#9DC893
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A545BA

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

Preview Lab → · Contrast checker → · Palette generator →

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