#A545AB#A545AB

#A545AB is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.178 H 325.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A545AB
RGBrgb(165, 69, 171)
HSLhsl(296, 43%, 47%)
HSVhsv(296, 60%, 67%)
CMYKcmyk(3.5%, 59.6%, 0%, 32.9%)
CIE-LABlab(45.90, 53.51, -36.67)
CIE-LCHlch(45.90, 64.88, 325.58°)
OKLaboklab(55.63% 0.1465 -0.1015)
OKLCHoklch(55.63% 0.178 325.3)
XYZxyz(24.9953, 15.1973, 40.1370)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545AB #4BAB45
analogous
#7245AB #A545AB #AB457E
triadic
#A545AB #ABA545 #45ABA5
tetradic
#A545AB #AB7245 #4BAB45 #457EAB
square
#A545AB #AB7245 #4BAB45 #457EAB
split-complementary
#A545AB #7EAB45 #45AB72
monochromatic
#512254 #7B337F #A545AB #BE6AC3 #D196D5

Accessibility & contrast

On white

5.20
#A545AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A545AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545AB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545AB#FFFFFF#000000##FFFFFF
##A545AB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#A95371
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a545ab;
/* rgb */ color: rgb(165, 69, 171);
/* oklch */ color: oklch(55.6% 0.178 325.3);
Tailwind
colors: {
  custom: {
    50: '#c27ec4',
    500: '#a545ab',
    950: '#000000',
  },
}
SCSS
$custom: #a545ab;
$custom-light: #c27ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a545ab",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 296.471,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.17817,
    "h": 325.3
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#A545AB
secondary
#8FC08B
accent
#D2565D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545AB

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

Preview Lab → · Contrast checker → · Palette generator →

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