#A54DC0#A54DC0

#A54DC0 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.186 H 317.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A54DC0
RGBrgb(165, 77, 192)
HSLhsl(286, 48%, 53%)
HSVhsv(286, 60%, 75%)
CMYKcmyk(14.1%, 59.9%, 0%, 24.7%)
CIE-LABlab(48.40, 53.84, -44.99)
CIE-LCHlch(48.40, 70.16, 320.11°)
OKLaboklab(57.82% 0.1374 -0.1257)
OKLCHoklch(57.82% 0.186 317.6)
XYZxyz(27.6840, 17.1139, 51.7040)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DC0 #68C04D
analogous
#6B4DC0 #A54DC0 #C04DA1
triadic
#A54DC0 #C0A54D #4DC0A5
tetradic
#A54DC0 #C06B4D #68C04D #4DA1C0
square
#A54DC0 #C06B4D #68C04D #4DA1C0
split-complementary
#A54DC0 #A1C04D #4DC06B
monochromatic
#5C266C #823699 #A54DC0 #BC7AD0 #D3A7E0

Accessibility & contrast

On white

4.75
#A54DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A54DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DC0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DC0#FFFFFF#000000##FFFFFF
##A54DC01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC4
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#A4607F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54dc0;
/* rgb */ color: rgb(165, 77, 192);
/* oklch */ color: oklch(57.8% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#c384d3',
    500: '#a54dc0',
    950: '#000000',
  },
}
SCSS
$custom: #a54dc0;
$custom-light: #c384d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dc0",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 285.913,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.18625,
    "h": 317.6
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#A54DC0
secondary
#A7CD9B
accent
#D75070
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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