#A545DC#A545DC

#A545DC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.224 H 310.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A545DC
RGBrgb(165, 69, 220)
HSLhsl(278, 68%, 57%)
HSVhsv(278, 69%, 86%)
CMYKcmyk(25%, 68.6%, 0%, 13.7%)
CIE-LABlab(48.79, 63.28, -60.45)
CIE-LCHlch(48.79, 87.51, 316.31°)
OKLaboklab(58.64% 0.1455 -0.1709)
OKLCHoklch(58.64% 0.224 310.4)
XYZxyz(30.5609, 17.4236, 69.4494)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545DC #7CDC45
analogous
#5A45DC #A545DC #DC45C7
triadic
#A545DC #DCA545 #45DCA5
tetradic
#A545DC #DC5A45 #7CDC45 #45C7DC
square
#A545DC #DC5A45 #7CDC45 #45C7DC
split-complementary
#A545DC #C7DC45 #45DC5A
monochromatic
#631A8C #8724C0 #A545DC #BE79E6 #D7ACEF

Accessibility & contrast

On white

4.68
#A545DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A545DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545DC#FFFFFF#000000##FFFFFF
##A545DC1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2D75D9
Tritanopia (blue-blind)
#9E668C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a545dc;
/* rgb */ color: rgb(165, 69, 220);
/* oklch */ color: oklch(58.6% 0.224 310.4);
Tailwind
colors: {
  custom: {
    50: '#c480e8',
    500: '#a545dc',
    950: '#000000',
  },
}
SCSS
$custom: #a545dc;
$custom-light: #c480e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a545dc",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 278.146,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.22446,
    "h": 310.4
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#A545DC
secondary
#B6DDA0
accent
#EB3D7C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545DC

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

Preview Lab → · Contrast checker → · Palette generator →

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