#A545D0#A545D0

#A545D0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.213 H 313.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A545D0
RGBrgb(165, 69, 208)
HSLhsl(281, 60%, 54%)
HSVhsv(281, 67%, 82%)
CMYKcmyk(20.7%, 66.8%, 0%, 18.4%)
CIE-LABlab(48.02, 60.77, -54.83)
CIE-LCHlch(48.02, 81.85, 317.94°)
OKLaboklab(57.85% 0.1465 -0.1544)
OKLCHoklch(57.85% 0.213 313.5)
XYZxyz(29.0284, 16.8105, 61.3779)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D0 #70D045
analogous
#6045D0 #A545D0 #D045B6
triadic
#A545D0 #D0A545 #45D0A5
tetradic
#A545D0 #D06045 #70D045 #45B6D0
square
#A545D0 #D06045 #70D045 #45B6D0
split-complementary
#A545D0 #B6D045 #45D060
monochromatic
#5F1F7B #842CAC #A545D0 #BD76DC #D4A7E9

Accessibility & contrast

On white

4.81
#A545D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A545D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D0#FFFFFF#000000##FFFFFF
##A545D01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#A16185
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a545d0;
/* rgb */ color: rgb(165, 69, 208);
/* oklch */ color: oklch(57.8% 0.213 313.5);
Tailwind
colors: {
  custom: {
    50: '#c480df',
    500: '#a545d0',
    950: '#000000',
  },
}
SCSS
$custom: #a545d0;
$custom-light: #c480df;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d0",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 281.439,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.2129,
    "h": 313.5
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#A545D0
secondary
#ADD69B
accent
#E34576
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545D0

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

Preview Lab → · Contrast checker → · Palette generator →

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