#A54BC1#A54BC1

#A54BC1 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.190 H 317.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A54BC1
RGBrgb(165, 75, 193)
HSLhsl(286, 49%, 53%)
HSVhsv(286, 61%, 76%)
CMYKcmyk(14.5%, 61.1%, 0%, 24.3%)
CIE-LABlab(48.11, 54.99, -46.04)
CIE-LCHlch(48.11, 71.71, 320.06°)
OKLaboklab(57.63% 0.1399 -0.1287)
OKLCHoklch(57.63% 0.19 317.4)
XYZxyz(27.6574, 16.8828, 52.2436)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BC1 #67C14B
analogous
#6A4BC1 #A54BC1 #C14BA2
triadic
#A54BC1 #C1A54B #4BC1A5
tetradic
#A54BC1 #C16A4B #67C14B #4BA2C1
square
#A54BC1 #C16A4B #67C14B #4BA2C1
split-complementary
#A54BC1 #A2C14B #4BC16A
monochromatic
#5B256C #82359A #A54BC1 #BC79D1 #D3A6E0

Accessibility & contrast

On white

4.80
#A54BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A54BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BC1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BC1#FFFFFF#000000##FFFFFF
##A54BC11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296CC5
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#A45F7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54bc1;
/* rgb */ color: rgb(165, 75, 193);
/* oklch */ color: oklch(57.6% 0.190 317.4);
Tailwind
colors: {
  custom: {
    50: '#c382d4',
    500: '#a54bc1',
    950: '#000000',
  },
}
SCSS
$custom: #a54bc1;
$custom-light: #c382d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bc1",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 285.763,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.19015,
    "h": 317.4
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#A54BC1
secondary
#A6CE9A
accent
#D84F70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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