#A545B2#A545B2

#A545B2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.185 H 322.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A545B2
RGBrgb(165, 69, 178)
HSLhsl(293, 44%, 48%)
HSVhsv(293, 61%, 70%)
CMYKcmyk(7.3%, 61.2%, 0%, 30.2%)
CIE-LABlab(46.27, 54.82, -40.21)
CIE-LCHlch(46.27, 67.99, 323.74°)
OKLaboklab(56.02% 0.1469 -0.1117)
OKLCHoklch(56.02% 0.185 322.7)
XYZxyz(25.6803, 15.4713, 43.7444)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545B2 #52B245
analogous
#6E45B2 #A545B2 #B24588
triadic
#A545B2 #B2A545 #45B2A5
tetradic
#A545B2 #B26E45 #52B245 #4588B2
square
#A545B2 #B26E45 #52B245 #4588B2
split-complementary
#A545B2 #88B245 #45B26E
monochromatic
#53235A #7C3486 #A545B2 #BC6EC7 #D09AD8

Accessibility & contrast

On white

5.13
#A545B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A545B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545B2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545B2#FFFFFF#000000##FFFFFF
##A545B21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#A75575
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a545b2;
/* rgb */ color: rgb(165, 69, 178);
/* oklch */ color: oklch(56.0% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#c37fc9',
    500: '#a545b2',
    950: '#000000',
  },
}
SCSS
$custom: #a545b2;
$custom-light: #c37fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a545b2",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 292.844,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.18455,
    "h": 322.7
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#A545B2
secondary
#95C48F
accent
#D45463
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545B2

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

Preview Lab → · Contrast checker → · Palette generator →

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