#A545C8#A545C8

#A545C8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.3% C 0.205 H 315.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A545C8
RGBrgb(165, 69, 200)
HSLhsl(284, 54%, 53%)
HSVhsv(284, 66%, 78%)
CMYKcmyk(17.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(47.53, 59.13, -51.02)
CIE-LCHlch(47.53, 78.10, 319.21°)
OKLaboklab(57.34% 0.147 -0.1433)
OKLCHoklch(57.34% 0.205 315.7)
XYZxyz(28.0689, 16.4267, 56.3245)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545C8 #68C845
analogous
#6345C8 #A545C8 #C845AA
triadic
#A545C8 #C8A545 #45C8A5
tetradic
#A545C8 #C86345 #68C845 #45AAC8
square
#A545C8 #C86345 #68C845 #45AAC8
split-complementary
#A545C8 #AAC845 #45C863
monochromatic
#5C2171 #822FA0 #A545C8 #BC74D6 #D3A3E4

Accessibility & contrast

On white

4.90
#A545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A545C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545C8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545C8#FFFFFF#000000##FFFFFF
##A545C81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056BCC
Deuteranopia (green-blind)
#4473C5
Tritanopia (blue-blind)
#A35E81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545c8;
/* rgb */ color: rgb(165, 69, 200);
/* oklch */ color: oklch(57.3% 0.205 315.7);
Tailwind
colors: {
  custom: {
    50: '#c37fd9',
    500: '#a545c8',
    950: '#000000',
  },
}
SCSS
$custom: #a545c8;
$custom-light: #c37fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a545c8",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 283.969,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.20523,
    "h": 315.7
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#A545C8
secondary
#A7D198
accent
#DE4A72
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545C8

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

Preview Lab → · Contrast checker → · Palette generator →

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