#A54DC7#A54DC7

#A54DC7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.193 H 315.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A54DC7
RGBrgb(165, 77, 199)
HSLhsl(283, 52%, 54%)
HSVhsv(283, 61%, 78%)
CMYKcmyk(17.1%, 61.3%, 0%, 22%)
CIE-LABlab(48.80, 55.27, -48.41)
CIE-LCHlch(48.80, 73.47, 318.79°)
OKLaboklab(58.23% 0.1376 -0.1357)
OKLCHoklch(58.23% 0.193 315.4)
XYZxyz(28.4781, 17.4316, 55.8863)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DC7 #6FC74D
analogous
#684DC7 #A54DC7 #C74DAC
triadic
#A54DC7 #C7A54D #4DC7A5
tetradic
#A54DC7 #C7684D #6FC74D #4DACC7
square
#A54DC7 #C7684D #6FC74D #4DACC7
split-complementary
#A54DC7 #ACC74D #4DC768
monochromatic
#5F2575 #8433A3 #A54DC7 #BD7CD6 #D4AAE4

Accessibility & contrast

On white

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

On black

4.49
#A54DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A54DC7#FFFFFF#000000##FFFFFF
##A54DC71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4C76C4
Tritanopia (blue-blind)
#A36383
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54dc7;
/* rgb */ color: rgb(165, 77, 199);
/* oklch */ color: oklch(58.2% 0.193 315.4);
Tailwind
colors: {
  custom: {
    50: '#c384d8',
    500: '#a54dc7',
    950: '#000000',
  },
}
SCSS
$custom: #a54dc7;
$custom-light: #c384d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dc7",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 283.279,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.19321,
    "h": 315.4
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#A54DC7
secondary
#ACD29E
accent
#DC4C74
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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