#A545CC#A545CC

#A545CC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.209 H 314.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A545CC
RGBrgb(165, 69, 204)
HSLhsl(283, 57%, 54%)
HSVhsv(283, 66%, 80%)
CMYKcmyk(19.1%, 66.2%, 0%, 20%)
CIE-LABlab(47.77, 59.95, -52.93)
CIE-LCHlch(47.77, 79.97, 318.56°)
OKLaboklab(57.59% 0.1468 -0.1489)
OKLCHoklch(57.59% 0.209 314.6)
XYZxyz(28.5425, 16.6162, 58.8187)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545CC #6CCC45
analogous
#6145CC #A545CC #CC45AF
triadic
#A545CC #CCA545 #45CCA5
tetradic
#A545CC #CC6145 #6CCC45 #45AFCC
square
#A545CC #CC6145 #6CCC45 #45AFCC
split-complementary
#A545CC #AFCC45 #45CC61
monochromatic
#5D2076 #832EA6 #A545CC #BC75D9 #D3A5E6

Accessibility & contrast

On white

4.86
#A545CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A545CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545CC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545CC#FFFFFF#000000##FFFFFF
##A545CC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#A25F83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545cc;
/* rgb */ color: rgb(165, 69, 204);
/* oklch */ color: oklch(57.6% 0.209 314.6);
Tailwind
colors: {
  custom: {
    50: '#c37fdc',
    500: '#a545cc',
    950: '#000000',
  },
}
SCSS
$custom: #a545cc;
$custom-light: #c37fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a545cc",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 282.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.20905,
    "h": 314.6
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

primary
#A545CC
secondary
#AAD399
accent
#E04874
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545CC

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

Preview Lab → · Contrast checker → · Palette generator →

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