#A545CA#A545CA

#A545CA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.207 H 315.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A545CA
RGBrgb(165, 69, 202)
HSLhsl(283, 56%, 53%)
HSVhsv(283, 66%, 79%)
CMYKcmyk(18.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(47.65, 59.54, -51.98)
CIE-LCHlch(47.65, 79.03, 318.88°)
OKLaboklab(57.46% 0.1469 -0.1461)
OKLCHoklch(57.46% 0.207 315.2)
XYZxyz(28.3041, 16.5208, 57.5635)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545CA #6ACA45
analogous
#6245CA #A545CA #CA45AD
triadic
#A545CA #CAA545 #45CAA5
tetradic
#A545CA #CA6245 #6ACA45 #45ADCA
square
#A545CA #CA6245 #6ACA45 #45ADCA
split-complementary
#A545CA #ADCA45 #45CA62
monochromatic
#5D2174 #832FA3 #A545CA #BC75D8 #D3A4E5

Accessibility & contrast

On white

4.88
#A545CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A545CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545CA#FFFFFF#000000##FFFFFF
##A545CA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#A25E82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545ca;
/* rgb */ color: rgb(165, 69, 202);
/* oklch */ color: oklch(57.5% 0.207 315.2);
Tailwind
colors: {
  custom: {
    50: '#c37fdb',
    500: '#a545ca',
    950: '#000000',
  },
}
SCSS
$custom: #a545ca;
$custom-light: #c37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a545ca",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 283.308,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.20714,
    "h": 315.2
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#A545CA
secondary
#A9D299
accent
#DF4973
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545CA

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

Preview Lab → · Contrast checker → · Palette generator →

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