#A545B3#A545B3

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

Color values

HEX#A545B3
RGBrgb(165, 69, 179)
HSLhsl(292, 44%, 49%)
HSVhsv(292, 61%, 70%)
CMYKcmyk(7.8%, 61.5%, 0%, 29.8%)
CIE-LABlab(46.33, 55.01, -40.71)
CIE-LCHlch(46.33, 68.44, 323.50°)
OKLaboklab(56.08% 0.1469 -0.1132)
OKLCHoklch(56.08% 0.185 322.4)
XYZxyz(25.7810, 15.5116, 44.2751)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545B3 #53B345
analogous
#6E45B3 #A545B3 #B3458A
triadic
#A545B3 #B3A545 #45B3A5
tetradic
#A545B3 #B36E45 #53B345 #458AB3
square
#A545B3 #B36E45 #53B345 #458AB3
split-complementary
#A545B3 #8AB345 #45B36E
monochromatic
#54235B #7C3487 #A545B3 #BC6EC7 #D09AD8

Accessibility & contrast

On white

5.12
#A545B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A545B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545B3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545B3#FFFFFF#000000##FFFFFF
##A545B31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#5372B0
Tritanopia (blue-blind)
#A75676
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a545b3;
/* rgb */ color: rgb(165, 69, 179);
/* oklch */ color: oklch(56.1% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#c37fca',
    500: '#a545b3',
    950: '#000000',
  },
}
SCSS
$custom: #a545b3;
$custom-light: #c37fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a545b3",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 292.364,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.18547,
    "h": 322.4
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#A545B3
secondary
#96C48F
accent
#D45464
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545B3

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

Preview Lab → · Contrast checker → · Palette generator →

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