#A545CD#A545CD

#A545CD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.210 H 314.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A545CD
RGBrgb(165, 69, 205)
HSLhsl(282, 58%, 54%)
HSVhsv(282, 66%, 80%)
CMYKcmyk(19.5%, 66.3%, 0%, 19.6%)
CIE-LABlab(47.83, 60.15, -53.41)
CIE-LCHlch(47.83, 80.44, 318.40°)
OKLaboklab(57.65% 0.1467 -0.1503)
OKLCHoklch(57.65% 0.21 314.3)
XYZxyz(28.6628, 16.6643, 59.4524)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545CD #6DCD45
analogous
#6145CD #A545CD #CD45B1
triadic
#A545CD #CDA545 #45CDA5
tetradic
#A545CD #CD6145 #6DCD45 #45B1CD
square
#A545CD #CD6145 #6DCD45 #45B1CD
split-complementary
#A545CD #B1CD45 #45CD61
monochromatic
#5E2077 #842DA8 #A545CD #BC75DA #D4A5E7

Accessibility & contrast

On white

4.85
#A545CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A545CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545CD#FFFFFF#000000##FFFFFF
##A545CD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#A16083
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545cd;
/* rgb */ color: rgb(165, 69, 205);
/* oklch */ color: oklch(57.7% 0.210 314.3);
Tailwind
colors: {
  custom: {
    50: '#c37fdd',
    500: '#a545cd',
    950: '#000000',
  },
}
SCSS
$custom: #a545cd;
$custom-light: #c37fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a545cd",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 282.353,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.21001,
    "h": 314.3
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#A545CD
secondary
#ABD49A
accent
#E14774
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545CD

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

Preview Lab → · Contrast checker → · Palette generator →

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