#A54FCD#A54FCD

#A54FCD is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.196 H 313.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A54FCD
RGBrgb(165, 79, 205)
HSLhsl(281, 56%, 56%)
HSVhsv(281, 61%, 80%)
CMYKcmyk(19.5%, 61.5%, 0%, 19.6%)
CIE-LABlab(49.50, 55.57, -50.75)
CIE-LCHlch(49.50, 75.26, 317.60°)
OKLaboklab(58.85% 0.1351 -0.1425)
OKLCHoklch(58.85% 0.196 313.5)
XYZxyz(29.3306, 17.9999, 59.6750)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FCD #77CD4F
analogous
#664FCD #A54FCD #CD4FB6
triadic
#A54FCD #CDA54F #4FCDA5
tetradic
#A54FCD #CD664F #77CD4F #4FB6CD
square
#A54FCD #CD664F #77CD4F #4FB6CD
split-complementary
#A54FCD #B6CD4F #4FCD66
monochromatic
#61247E #8631AE #A54FCD #BD7FDB #D6AEE8

Accessibility & contrast

On white

4.57
#A54FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A54FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FCD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FCD#FFFFFF#000000##000000
##A54FCD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#A16687
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54fcd;
/* rgb */ color: rgb(165, 79, 205);
/* oklch */ color: oklch(58.9% 0.196 313.5);
Tailwind
colors: {
  custom: {
    50: '#c385dd',
    500: '#a54fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a54fcd;
$custom-light: #c385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fcd",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 280.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.19639,
    "h": 313.5
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#A54FCD
secondary
#B2D6A2
accent
#DF4978
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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