#A545D7#A545D7

#A545D7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.220 H 311.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A545D7
RGBrgb(165, 69, 215)
HSLhsl(279, 65%, 56%)
HSVhsv(279, 68%, 84%)
CMYKcmyk(23.3%, 67.9%, 0%, 15.7%)
CIE-LABlab(48.46, 62.22, -58.13)
CIE-LCHlch(48.46, 85.15, 316.95°)
OKLaboklab(58.3% 0.146 -0.1641)
OKLCHoklch(58.3% 0.22 311.7)
XYZxyz(29.9086, 17.1626, 66.0140)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D7 #77D745
analogous
#5C45D7 #A545D7 #D745C0
triadic
#A545D7 #D7A545 #45D7A5
tetradic
#A545D7 #D75C45 #77D745 #45C0D7
square
#A545D7 #D75C45 #77D745 #45C0D7
split-complementary
#A545D7 #C0D745 #45D75C
monochromatic
#611D85 #8627B7 #A545D7 #BD77E2 #D6AAED

Accessibility & contrast

On white

4.74
#A545D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A545D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D7#FFFFFF#000000##FFFFFF
##A545D71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3475D4
Tritanopia (blue-blind)
#9F6489
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a545d7;
/* rgb */ color: rgb(165, 69, 215);
/* oklch */ color: oklch(58.3% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#c480e4',
    500: '#a545d7',
    950: '#000000',
  },
}
SCSS
$custom: #a545d7;
$custom-light: #c480e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d7",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 279.452,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.21963,
    "h": 311.7
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A545D7

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

Preview Lab → · Contrast checker → · Palette generator →

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