#A545AF#A545AF

#A545AF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.182 H 323.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A545AF
RGBrgb(165, 69, 175)
HSLhsl(294, 43%, 48%)
HSVhsv(294, 61%, 69%)
CMYKcmyk(5.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(46.11, 54.26, -38.70)
CIE-LCHlch(46.11, 66.64, 324.50°)
OKLaboklab(55.85% 0.1467 -0.1073)
OKLCHoklch(55.85% 0.182 323.8)
XYZxyz(25.3823, 15.3521, 42.1754)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545AF #4FAF45
analogous
#7045AF #A545AF #AF4584
triadic
#A545AF #AFA545 #45AFA5
tetradic
#A545AF #AF7045 #4FAF45 #4584AF
square
#A545AF #AF7045 #4FAF45 #4584AF
split-complementary
#A545AF #84AF45 #45AF70
monochromatic
#522257 #7C3483 #A545AF #BD6CC5 #D198D6

Accessibility & contrast

On white

5.16
#A545AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A545AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545AF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545AF#FFFFFF#000000##FFFFFF
##A545AF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#A85474
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a545af;
/* rgb */ color: rgb(165, 69, 175);
/* oklch */ color: oklch(55.9% 0.182 323.8);
Tailwind
colors: {
  custom: {
    50: '#c27fc7',
    500: '#a545af',
    950: '#000000',
  },
}
SCSS
$custom: #a545af;
$custom-light: #c27fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a545af",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 294.34,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.1818,
    "h": 323.8
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#A545AF
secondary
#92C28D
accent
#D35561
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A545AF

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

Preview Lab → · Contrast checker → · Palette generator →

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