#A545BC#A545BC

#A545BC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.194 H 319.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A545BC
RGBrgb(165, 69, 188)
HSLhsl(288, 47%, 50%)
HSVhsv(288, 63%, 74%)
CMYKcmyk(12.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(46.83, 56.74, -45.18)
CIE-LCHlch(46.83, 72.53, 321.47°)
OKLaboklab(56.6% 0.1472 -0.1262)
OKLCHoklch(56.6% 0.194 319.4)
XYZxyz(26.7211, 15.8876, 49.2263)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545BC #5CBC45
analogous
#6945BC #A545BC #BC4598
triadic
#A545BC #BCA545 #45BCA5
tetradic
#A545BC #BC6945 #5CBC45 #4598BC
square
#A545BC #BC6945 #5CBC45 #4598BC
split-complementary
#A545BC #98BC45 #45BC69
monochromatic
#572463 #7E3490 #A545BC #BB72CC #D19FDC

Accessibility & contrast

On white

5.03
#A545BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A545BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545BC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545BC#FFFFFF#000000##FFFFFF
##A545BC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368C0
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#A5597A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a545bc;
/* rgb */ color: rgb(165, 69, 188);
/* oklch */ color: oklch(56.6% 0.194 319.4);
Tailwind
colors: {
  custom: {
    50: '#c37fd1',
    500: '#a545bc',
    950: '#000000',
  },
}
SCSS
$custom: #a545bc;
$custom-light: #c37fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a545bc",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 288.403,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.19385,
    "h": 319.4
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#A545BC
secondary
#9EC994
accent
#D7516B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A545BC

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

Preview Lab → · Contrast checker → · Palette generator →

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