#A545DA#A545DA

#A545DA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.5% C 0.223 H 310.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A545DA
RGBrgb(165, 69, 218)
HSLhsl(279, 67%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(24.3%, 68.3%, 0%, 14.5%)
CIE-LABlab(48.66, 62.85, -59.53)
CIE-LCHlch(48.66, 86.57, 316.56°)
OKLaboklab(58.51% 0.1457 -0.1682)
OKLCHoklch(58.51% 0.223 310.9)
XYZxyz(30.2977, 17.3182, 68.0628)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545DA #7ADA45
analogous
#5B45DA #A545DA #DA45C4
triadic
#A545DA #DAA545 #45DAA5
tetradic
#A545DA #DA5B45 #7ADA45 #45C4DA
square
#A545DA #DA5B45 #7ADA45 #45C4DA
split-complementary
#A545DA #C4DA45 #45DA5B
monochromatic
#621B89 #8725BC #A545DA #BE78E4 #D6ABEE

Accessibility & contrast

On white

4.70
#A545DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A545DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545DA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545DA#FFFFFF#000000##FFFFFF
##A545DA1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#9E658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a545da;
/* rgb */ color: rgb(165, 69, 218);
/* oklch */ color: oklch(58.5% 0.223 310.9);
Tailwind
colors: {
  custom: {
    50: '#c480e6',
    500: '#a545da',
    950: '#000000',
  },
}
SCSS
$custom: #a545da;
$custom-light: #c480e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a545da",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 278.658,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.22252,
    "h": 310.9
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#A545DA
secondary
#B5DC9F
accent
#EA3E7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545DA

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

Preview Lab → · Contrast checker → · Palette generator →

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