#A54DCD#A54DCD

#A54DCD is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.199 H 313.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A54DCD
RGBrgb(165, 77, 205)
HSLhsl(281, 56%, 55%)
HSVhsv(281, 62%, 80%)
CMYKcmyk(19.5%, 62.4%, 0%, 19.6%)
CIE-LABlab(49.15, 56.52, -51.30)
CIE-LCHlch(49.15, 76.33, 317.77°)
OKLaboklab(58.6% 0.1375 -0.1441)
OKLCHoklch(58.6% 0.199 313.7)
XYZxyz(29.1885, 17.7157, 59.6277)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DCD #75CD4D
analogous
#654DCD #A54DCD #CD4DB5
triadic
#A54DCD #CDA54D #4DCDA5
tetradic
#A54DCD #CD654D #75CD4D #4DB5CD
square
#A54DCD #CD654D #75CD4D #4DB5CD
split-complementary
#A54DCD #B5CD4D #4DCD65
monochromatic
#61237D #8630AC #A54DCD #BD7DDA #D5ADE8

Accessibility & contrast

On white

4.62
#A54DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A54DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DCD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DCD#FFFFFF#000000##FFFFFF
##A54DCD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#A16586
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54dcd;
/* rgb */ color: rgb(165, 77, 205);
/* oklch */ color: oklch(58.6% 0.199 313.7);
Tailwind
colors: {
  custom: {
    50: '#c384dd',
    500: '#a54dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a54dcd;
$custom-light: #c384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dcd",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 281.25,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.19921,
    "h": 313.7
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#A54DCD
secondary
#B1D6A0
accent
#DF4878
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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