#A54BC2#A54BC2

#A54BC2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.191 H 317.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A54BC2
RGBrgb(165, 75, 194)
HSLhsl(285, 49%, 53%)
HSVhsv(285, 61%, 76%)
CMYKcmyk(14.9%, 61.3%, 0%, 23.9%)
CIE-LABlab(48.17, 55.19, -46.53)
CIE-LCHlch(48.17, 72.18, 319.87°)
OKLaboklab(57.68% 0.14 -0.1302)
OKLCHoklch(57.68% 0.191 317.1)
XYZxyz(27.7693, 16.9276, 52.8331)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BC2 #68C24B
analogous
#694BC2 #A54BC2 #C24BA4
triadic
#A54BC2 #C2A54B #4BC2A5
tetradic
#A54BC2 #C2694B #68C24B #4BA4C2
square
#A54BC2 #C2694B #68C24B #4BA4C2
split-complementary
#A54BC2 #A4C24B #4BC269
monochromatic
#5C256D #82359B #A54BC2 #BC79D1 #D3A6E1

Accessibility & contrast

On white

4.79
#A54BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A54BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BC2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BC2#FFFFFF#000000##FFFFFF
##A54BC21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#A45F80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54bc2;
/* rgb */ color: rgb(165, 75, 194);
/* oklch */ color: oklch(57.7% 0.191 317.1);
Tailwind
colors: {
  custom: {
    50: '#c382d5',
    500: '#a54bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a54bc2;
$custom-light: #c382d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bc2",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 285.378,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.19114,
    "h": 317.1
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#A54BC2
secondary
#A7CE9B
accent
#D94F71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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