#A54CBC#A54CBC

#A54CBC is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.184 H 318.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A54CBC
RGBrgb(165, 76, 188)
HSLhsl(288, 46%, 52%)
HSVhsv(288, 60%, 74%)
CMYKcmyk(12.2%, 59.6%, 0%, 26.3%)
CIE-LABlab(48.01, 53.51, -43.30)
CIE-LCHlch(48.01, 68.83, 321.02°)
OKLaboklab(57.46% 0.1386 -0.1208)
OKLCHoklch(57.46% 0.184 318.9)
XYZxyz(27.1774, 16.8002, 49.3784)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CBC #63BC4C
analogous
#6D4CBC #A54CBC #BC4C9B
triadic
#A54CBC #BCA54C #4CBCA5
tetradic
#A54CBC #BC6D4C #63BC4C #4C9BBC
square
#A54CBC #BC6D4C #63BC4C #4C9BBC
split-complementary
#A54CBC #9BBC4C #4CBC6D
monochromatic
#5A2767 #813794 #A54CBC #BB79CD #D2A5DD

Accessibility & contrast

On white

4.82
#A54CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A54CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CBC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CBC#FFFFFF#000000##FFFFFF
##A54CBC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#A55E7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54cbc;
/* rgb */ color: rgb(165, 76, 188);
/* oklch */ color: oklch(57.5% 0.184 318.9);
Tailwind
colors: {
  custom: {
    50: '#c283d1',
    500: '#a54cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a54cbc;
$custom-light: #c283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cbc",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 287.679,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.1838,
    "h": 318.9
  },
  "luminance": 0.16799
}

Semantic roles & 50–950 ramp

primary
#A54CBC
secondary
#A3CA99
accent
#D5536D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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