#A545C0#A545C0

#A545C0 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.198 H 318.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A545C0
RGBrgb(165, 69, 192)
HSLhsl(287, 49%, 51%)
HSVhsv(287, 64%, 75%)
CMYKcmyk(14.1%, 64.1%, 0%, 24.7%)
CIE-LABlab(47.06, 57.53, -47.14)
CIE-LCHlch(47.06, 74.38, 320.67°)
OKLaboklab(56.84% 0.1472 -0.1319)
OKLCHoklch(56.84% 0.198 318.1)
XYZxyz(27.1583, 16.0625, 51.5288)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545C0 #60C045
analogous
#6745C0 #A545C0 #C0459D
triadic
#A545C0 #C0A545 #45C0A5
tetradic
#A545C0 #C06745 #60C045 #459DC0
square
#A545C0 #C06745 #60C045 #459DC0
split-complementary
#A545C0 #9DC045 #45C067
monochromatic
#592368 #803395 #A545C0 #BB73CF #D1A0DF

Accessibility & contrast

On white

4.99
#A545C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A545C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545C0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545C0#FFFFFF#000000##FFFFFF
##A545C01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#4A73BD
Tritanopia (blue-blind)
#A45B7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a545c0;
/* rgb */ color: rgb(165, 69, 192);
/* oklch */ color: oklch(56.8% 0.198 318.1);
Tailwind
colors: {
  custom: {
    50: '#c37fd3',
    500: '#a545c0',
    950: '#000000',
  },
}
SCSS
$custom: #a545c0;
$custom-light: #c37fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a545c0",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 286.829,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.19763,
    "h": 318.1
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#A545C0
secondary
#A1CC95
accent
#D94F6D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A545C0

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

Preview Lab → · Contrast checker → · Palette generator →

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