#A545B4#A545B4

#A545B4 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.186 H 322.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A545B4
RGBrgb(165, 69, 180)
HSLhsl(292, 45%, 49%)
HSVhsv(292, 62%, 71%)
CMYKcmyk(8.3%, 61.7%, 0%, 29.4%)
CIE-LABlab(46.38, 55.20, -41.21)
CIE-LCHlch(46.38, 68.89, 323.26°)
OKLaboklab(56.14% 0.147 -0.1146)
OKLCHoklch(56.14% 0.186 322)
XYZxyz(25.8825, 15.5522, 44.8097)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545B4 #54B445
analogous
#6E45B4 #A545B4 #B4458C
triadic
#A545B4 #B4A545 #45B4A5
tetradic
#A545B4 #B46E45 #54B445 #458CB4
square
#A545B4 #B46E45 #54B445 #458CB4
split-complementary
#A545B4 #8CB445 #45B46E
monochromatic
#54235C #7C3488 #A545B4 #BC6FC8 #D09BD9

Accessibility & contrast

On white

5.11
#A545B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A545B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545B4#FFFFFF#000000##FFFFFF
##A545B41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B7
Deuteranopia (green-blind)
#5272B1
Tritanopia (blue-blind)
#A75676
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a545b4;
/* rgb */ color: rgb(165, 69, 180);
/* oklch */ color: oklch(56.1% 0.186 322.0);
Tailwind
colors: {
  custom: {
    50: '#c37fcb',
    500: '#a545b4',
    950: '#000000',
  },
}
SCSS
$custom: #a545b4;
$custom-light: #c37fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a545b4",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 291.892,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.18639,
    "h": 322
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#A545B4
secondary
#97C590
accent
#D45465
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545B4

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

Preview Lab → · Contrast checker → · Palette generator →

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