#A54FCE#A54FCE

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

Color values

HEX#A54FCE
RGBrgb(165, 79, 206)
HSLhsl(281, 56%, 56%)
HSVhsv(281, 62%, 81%)
CMYKcmyk(19.9%, 61.7%, 0%, 19.2%)
CIE-LABlab(49.55, 55.78, -51.23)
CIE-LCHlch(49.55, 75.74, 317.44°)
OKLaboklab(58.91% 0.1351 -0.1439)
OKLCHoklch(58.91% 0.197 313.2)
XYZxyz(29.4517, 18.0484, 60.3128)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FCE #78CE4F
analogous
#654FCE #A54FCE #CE4FB7
triadic
#A54FCE #CEA54F #4FCEA5
tetradic
#A54FCE #CE654F #78CE4F #4FB7CE
square
#A54FCE #CE654F #78CE4F #4FB7CE
split-complementary
#A54FCE #B7CE4F #4FCE65
monochromatic
#62237F #8631AF #A54FCE #BD7FDB #D6AFE9

Accessibility & contrast

On white

4.56
#A54FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A54FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FCE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FCE#FFFFFF#000000##000000
##A54FCE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#A16787
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54fce;
/* rgb */ color: rgb(165, 79, 206);
/* oklch */ color: oklch(58.9% 0.197 313.2);
Tailwind
colors: {
  custom: {
    50: '#c385dd',
    500: '#a54fce',
    950: '#000000',
  },
}
SCSS
$custom: #a54fce;
$custom-light: #c385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fce",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 280.63,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.19741,
    "h": 313.2
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#A54FCE
secondary
#B3D7A2
accent
#E04879
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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