#A545A7#A545A7

#A545A7 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.175 H 326.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A545A7
RGBrgb(165, 69, 167)
HSLhsl(299, 42%, 46%)
HSVhsv(299, 59%, 65%)
CMYKcmyk(1.2%, 58.7%, 0%, 34.5%)
CIE-LABlab(45.70, 52.78, -34.63)
CIE-LCHlch(45.70, 63.13, 326.73°)
OKLaboklab(55.42% 0.1461 -0.0956)
OKLCHoklch(55.42% 0.175 326.8)
XYZxyz(24.6198, 15.0471, 38.1593)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545A7 #47A745
analogous
#7445A7 #A545A7 #A74578
triadic
#A545A7 #A7A545 #45A7A5
tetradic
#A545A7 #A77445 #47A745 #4578A7
square
#A545A7 #A77445 #47A745 #4578A7
split-complementary
#A545A7 #78A745 #45A774
monochromatic
#4F2150 #7A337C #A545A7 #BF68C1 #D194D3

Accessibility & contrast

On white

5.24
#A545A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A545A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545A7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545A7#FFFFFF#000000##FFFFFF
##A545A71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#A9516F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a545a7;
/* rgb */ color: rgb(165, 69, 167);
/* oklch */ color: oklch(55.4% 0.175 326.8);
Tailwind
colors: {
  custom: {
    50: '#c27ec1',
    500: '#a545a7',
    950: '#000000',
  },
}
SCSS
$custom: #a545a7;
$custom-light: #c27ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a545a7",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 298.776,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.17458,
    "h": 326.8
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#A545A7
secondary
#8BBE89
accent
#D15659
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A545A7

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

Preview Lab → · Contrast checker → · Palette generator →

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