#A545D6#A545D6

#A545D6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.219 H 311.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A545D6
RGBrgb(165, 69, 214)
HSLhsl(280, 64%, 55%)
HSVhsv(280, 68%, 84%)
CMYKcmyk(22.9%, 67.8%, 0%, 16.1%)
CIE-LABlab(48.40, 62.01, -57.66)
CIE-LCHlch(48.40, 84.68, 317.08°)
OKLaboklab(58.24% 0.1461 -0.1627)
OKLCHoklch(58.24% 0.219 311.9)
XYZxyz(29.7805, 17.1114, 65.3393)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D6 #76D645
analogous
#5C45D6 #A545D6 #D645BF
triadic
#A545D6 #D6A545 #45D6A5
tetradic
#A545D6 #D65C45 #76D645 #45BFD6
square
#A545D6 #D65C45 #76D645 #45BFD6
split-complementary
#A545D6 #BFD645 #45D65C
monochromatic
#611D84 #8628B6 #A545D6 #BD77E1 #D6A9EC

Accessibility & contrast

On white

4.75
#A545D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A545D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D6#FFFFFF#000000##FFFFFF
##A545D61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3575D3
Tritanopia (blue-blind)
#9F6388
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a545d6;
/* rgb */ color: rgb(165, 69, 214);
/* oklch */ color: oklch(58.2% 0.219 311.9);
Tailwind
colors: {
  custom: {
    50: '#c480e3',
    500: '#a545d6',
    950: '#000000',
  },
}
SCSS
$custom: #a545d6;
$custom-light: #c480e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d6",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 279.724,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.21867,
    "h": 311.9
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#A545D6
secondary
#B2DA9D
accent
#E74179
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545D6

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

Preview Lab → · Contrast checker → · Palette generator →

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