#A545B5#A545B5

#A545B5 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.187 H 321.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A545B5
RGBrgb(165, 69, 181)
HSLhsl(291, 45%, 49%)
HSVhsv(291, 62%, 71%)
CMYKcmyk(8.8%, 61.9%, 0%, 29%)
CIE-LABlab(46.44, 55.39, -41.71)
CIE-LCHlch(46.44, 69.34, 323.02°)
OKLaboklab(56.19% 0.147 -0.1161)
OKLCHoklch(56.19% 0.187 321.7)
XYZxyz(25.9848, 15.5931, 45.3482)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545B5 #55B545
analogous
#6D45B5 #A545B5 #B5458D
triadic
#A545B5 #B5A545 #45B5A5
tetradic
#A545B5 #B56D45 #55B545 #458DB5
square
#A545B5 #B56D45 #55B545 #458DB5
split-complementary
#A545B5 #8DB545 #45B56D
monochromatic
#54235C #7D3489 #A545B5 #BB6FC8 #D09BD9

Accessibility & contrast

On white

5.10
#A545B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A545B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545B5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545B5#FFFFFF#000000##FFFFFF
##A545B51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B8
Deuteranopia (green-blind)
#5272B2
Tritanopia (blue-blind)
#A75677
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a545b5;
/* rgb */ color: rgb(165, 69, 181);
/* oklch */ color: oklch(56.2% 0.187 321.7);
Tailwind
colors: {
  custom: {
    50: '#c37fcc',
    500: '#a545b5',
    950: '#000000',
  },
}
SCSS
$custom: #a545b5;
$custom-light: #c37fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a545b5",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 291.429,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.18732,
    "h": 321.7
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#A545B5
secondary
#98C591
accent
#D55366
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545B5

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

Preview Lab → · Contrast checker → · Palette generator →

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