#A545D8#A545D8

#A545D8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.221 H 311.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A545D8
RGBrgb(165, 69, 216)
HSLhsl(279, 65%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(23.6%, 68.1%, 0%, 15.3%)
CIE-LABlab(48.53, 62.43, -58.59)
CIE-LCHlch(48.53, 85.62, 316.82°)
OKLaboklab(58.37% 0.1459 -0.1655)
OKLCHoklch(58.37% 0.221 311.4)
XYZxyz(30.0375, 17.2142, 66.6928)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D8 #78D845
analogous
#5B45D8 #A545D8 #D845C1
triadic
#A545D8 #D8A545 #45D8A5
tetradic
#A545D8 #D85B45 #78D845 #45C1D8
square
#A545D8 #D85B45 #78D845 #45C1D8
split-complementary
#A545D8 #C1D845 #45D85B
monochromatic
#621C86 #8627B9 #A545D8 #BD78E3 #D6AAED

Accessibility & contrast

On white

4.73
#A545D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A545D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D8#FFFFFF#000000##FFFFFF
##A545D81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#9F6489
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a545d8;
/* rgb */ color: rgb(165, 69, 216);
/* oklch */ color: oklch(58.4% 0.221 311.4);
Tailwind
colors: {
  custom: {
    50: '#c480e5',
    500: '#a545d8',
    950: '#000000',
  },
}
SCSS
$custom: #a545d8;
$custom-light: #c480e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d8",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 279.184,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.2206,
    "h": 311.4
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#A545D8
secondary
#B3DB9E
accent
#E8407A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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