#A54DB2#A54DB2

#A54DB2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.173 H 322.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A54DB2
RGBrgb(165, 77, 178)
HSLhsl(292, 40%, 50%)
HSVhsv(292, 57%, 70%)
CMYKcmyk(7.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(47.65, 51.06, -38.03)
CIE-LCHlch(47.65, 63.67, 323.33°)
OKLaboklab(57.03% 0.1366 -0.1054)
OKLCHoklch(57.03% 0.173 322.3)
XYZxyz(26.2060, 16.5227, 43.9197)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DB2 #5AB24D
analogous
#724DB2 #A54DB2 #B24D8D
triadic
#A54DB2 #B2A54D #4DB2A5
tetradic
#A54DB2 #B2724D #5AB24D #4D8DB2
square
#A54DB2 #B2724D #5AB24D #4D8DB2
split-complementary
#A54DB2 #8DB24D #4DB272
monochromatic
#56285D #7D3B87 #A54DB2 #BB78C4 #D0A2D7

Accessibility & contrast

On white

4.88
#A54DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A54DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DB2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DB2#FFFFFF#000000##FFFFFF
##A54DB21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB5
Deuteranopia (green-blind)
#5975AF
Tritanopia (blue-blind)
#A75B78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54db2;
/* rgb */ color: rgb(165, 77, 178);
/* oklch */ color: oklch(57.0% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#c283c9',
    500: '#a54db2',
    950: '#000000',
  },
}
SCSS
$custom: #a54db2;
$custom-light: #c283c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a54db2",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 292.277,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.17259,
    "h": 322.3
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#A54DB2
secondary
#9DC497
accent
#CF5868
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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