#A545AA#A545AA

#A545AA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.177 H 325.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A545AA
RGBrgb(165, 69, 170)
HSLhsl(297, 42%, 47%)
HSVhsv(297, 59%, 67%)
CMYKcmyk(2.9%, 59.4%, 0%, 33.3%)
CIE-LABlab(45.85, 53.33, -36.16)
CIE-LCHlch(45.85, 64.44, 325.86°)
OKLaboklab(55.58% 0.1464 -0.1)
OKLCHoklch(55.58% 0.177 325.7)
XYZxyz(24.9003, 15.1593, 39.6369)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545AA #4AAA45
analogous
#7345AA #A545AA #AA457D
triadic
#A545AA #AAA545 #45AAA5
tetradic
#A545AA #AA7345 #4AAA45 #457DAA
square
#A545AA #AA7345 #4AAA45 #457DAA
split-complementary
#A545AA #7DAA45 #45AA73
monochromatic
#502253 #7B337E #A545AA #BE6AC2 #D195D4

Accessibility & contrast

On white

5.21
#A545AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A545AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545AA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545AA#FFFFFF#000000##FFFFFF
##A545AA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#A95271
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a545aa;
/* rgb */ color: rgb(165, 69, 170);
/* oklch */ color: oklch(55.6% 0.177 325.7);
Tailwind
colors: {
  custom: {
    50: '#c27ec3',
    500: '#a545aa',
    950: '#000000',
  },
}
SCSS
$custom: #a545aa;
$custom-light: #c27ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a545aa",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 297.03,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.17726,
    "h": 325.7
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#A545AA
secondary
#8EC08B
accent
#D2565C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A545AA

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

Preview Lab → · Contrast checker → · Palette generator →

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