#A545AE#A545AE

#A545AE is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.181 H 324.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A545AE
RGBrgb(165, 69, 174)
HSLhsl(295, 43%, 48%)
HSVhsv(295, 60%, 68%)
CMYKcmyk(5.2%, 60.3%, 0%, 31.8%)
CIE-LABlab(46.06, 54.07, -38.19)
CIE-LCHlch(46.06, 66.20, 324.76°)
OKLaboklab(55.8% 0.1467 -0.1059)
OKLCHoklch(55.8% 0.181 324.2)
XYZxyz(25.2845, 15.3130, 41.6601)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545AE #4EAE45
analogous
#7045AE #A545AE #AE4583
triadic
#A545AE #AEA545 #45AEA5
tetradic
#A545AE #AE7045 #4EAE45 #4583AE
square
#A545AE #AE7045 #4EAE45 #4583AE
split-complementary
#A545AE #83AE45 #45AE70
monochromatic
#522256 #7B3482 #A545AE #BD6CC5 #D197D6

Accessibility & contrast

On white

5.17
#A545AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A545AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545AE#FFFFFF#000000##FFFFFF
##A545AE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#A85473
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a545ae;
/* rgb */ color: rgb(165, 69, 174);
/* oklch */ color: oklch(55.8% 0.181 324.2);
Tailwind
colors: {
  custom: {
    50: '#c27fc6',
    500: '#a545ae',
    950: '#000000',
  },
}
SCSS
$custom: #a545ae;
$custom-light: #c27fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#a545ae",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 294.857,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55797,
    "c": 0.18089,
    "h": 324.2
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#A545AE
secondary
#91C28D
accent
#D35560
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545AE

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

Preview Lab → · Contrast checker → · Palette generator →

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