#A545B8#A545B8

#A545B8 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.190 H 320.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A545B8
RGBrgb(165, 69, 184)
HSLhsl(290, 45%, 50%)
HSVhsv(290, 63%, 72%)
CMYKcmyk(10.3%, 62.5%, 0%, 27.8%)
CIE-LABlab(46.60, 55.97, -43.20)
CIE-LCHlch(46.60, 70.70, 322.33°)
OKLaboklab(56.37% 0.1471 -0.1204)
OKLCHoklch(56.37% 0.19 320.7)
XYZxyz(26.2959, 15.7175, 46.9868)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545B8 #58B845
analogous
#6C45B8 #A545B8 #B84592
triadic
#A545B8 #B8A545 #45B8A5
tetradic
#A545B8 #B86C45 #58B845 #4592B8
square
#A545B8 #B86C45 #58B845 #4592B8
split-complementary
#A545B8 #92B845 #45B86C
monochromatic
#55245F #7D348B #A545B8 #BB71CA #D09DDA

Accessibility & contrast

On white

5.07
#A545B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A545B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545B8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545B8#FFFFFF#000000##FFFFFF
##A545B81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#A65878
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a545b8;
/* rgb */ color: rgb(165, 69, 184);
/* oklch */ color: oklch(56.4% 0.190 320.7);
Tailwind
colors: {
  custom: {
    50: '#c37fce',
    500: '#a545b8',
    950: '#000000',
  },
}
SCSS
$custom: #a545b8;
$custom-light: #c37fce;
$custom-dark: #000000;
JSON
{
  "hex": "#a545b8",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 290.087,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.19011,
    "h": 320.7
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#A545B8
secondary
#9BC792
accent
#D55368
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545B8

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

Preview Lab → · Contrast checker → · Palette generator →

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