#A54DC2#A54DC2

#A54DC2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.188 H 316.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A54DC2
RGBrgb(165, 77, 194)
HSLhsl(285, 49%, 53%)
HSVhsv(285, 60%, 76%)
CMYKcmyk(14.9%, 60.3%, 0%, 23.9%)
CIE-LABlab(48.52, 54.24, -45.97)
CIE-LCHlch(48.52, 71.10, 319.72°)
OKLaboklab(57.94% 0.1375 -0.1286)
OKLCHoklch(57.94% 0.188 316.9)
XYZxyz(27.9071, 17.2032, 52.8790)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DC2 #6AC24D
analogous
#6A4DC2 #A54DC2 #C24DA4
triadic
#A54DC2 #C2A54D #4DC2A5
tetradic
#A54DC2 #C26A4D #6AC24D #4DA4C2
square
#A54DC2 #C26A4D #6AC24D #4DA4C2
split-complementary
#A54DC2 #A4C24D #4DC26A
monochromatic
#5D266F #83369C #A54DC2 #BC7BD2 #D3A8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54DC2#FFFFFF#000000##FFFFFF
##A54DC21.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)
#2C6EC6
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#A46180
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54dc2;
/* rgb */ color: rgb(165, 77, 194);
/* oklch */ color: oklch(57.9% 0.188 316.9);
Tailwind
colors: {
  custom: {
    50: '#c384d5',
    500: '#a54dc2',
    950: '#000000',
  },
}
SCSS
$custom: #a54dc2;
$custom-light: #c384d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dc2",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 285.128,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.18824,
    "h": 316.9
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#A54DC2
secondary
#A9CF9C
accent
#D94F71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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