#A54FC0#A54FC0

#A54FC0 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.183 H 317.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A54FC0
RGBrgb(165, 79, 192)
HSLhsl(286, 47%, 53%)
HSVhsv(286, 59%, 75%)
CMYKcmyk(14.1%, 58.9%, 0%, 24.7%)
CIE-LABlab(48.76, 52.87, -44.43)
CIE-LCHlch(48.76, 69.06, 319.96°)
OKLaboklab(58.08% 0.1349 -0.1241)
OKLCHoklch(58.08% 0.183 317.4)
XYZxyz(27.8261, 17.3981, 51.7514)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FC0 #6AC04F
analogous
#6C4FC0 #A54FC0 #C04FA2
triadic
#A54FC0 #C0A54F #4FC0A5
tetradic
#A54FC0 #C06C4F #6AC04F #4FA2C0
square
#A54FC0 #C06C4F #6AC04F #4FA2C0
split-complementary
#A54FC0 #A2C04F #4FC06C
monochromatic
#5D276D #83379A #A54FC0 #BC7CD0 #D3A9E0

Accessibility & contrast

On white

4.69
#A54FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A54FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FC0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FC0#FFFFFF#000000##FFFFFF
##A54FC01.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC4
Deuteranopia (green-blind)
#5277BD
Tritanopia (blue-blind)
#A46280
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54fc0;
/* rgb */ color: rgb(165, 79, 192);
/* oklch */ color: oklch(58.1% 0.183 317.4);
Tailwind
colors: {
  custom: {
    50: '#c285d3',
    500: '#a54fc0',
    950: '#000000',
  },
}
SCSS
$custom: #a54fc0;
$custom-light: #c285d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fc0",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 285.664,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.18329,
    "h": 317.4
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#A54FC0
secondary
#A9CE9D
accent
#D75171
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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