#A54BBC#A54BBC

#A54BBC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.185 H 319.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A54BBC
RGBrgb(165, 75, 188)
HSLhsl(288, 46%, 52%)
HSVhsv(288, 60%, 74%)
CMYKcmyk(12.2%, 60.1%, 0%, 26.3%)
CIE-LABlab(47.83, 53.98, -43.58)
CIE-LCHlch(47.83, 69.38, 321.09°)
OKLaboklab(57.33% 0.1398 -0.1216)
OKLCHoklch(57.33% 0.185 319)
XYZxyz(27.1090, 16.6635, 49.3556)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BBC #62BC4B
analogous
#6D4BBC #A54BBC #BC4B9B
triadic
#A54BBC #BCA54B #4BBCA5
tetradic
#A54BBC #BC6D4B #62BC4B #4B9BBC
square
#A54BBC #BC6D4B #62BC4B #4B9BBC
split-complementary
#A54BBC #9BBC4B #4BBC6D
monochromatic
#592666 #803793 #A54BBC #BB78CD #D2A4DD

Accessibility & contrast

On white

4.85
#A54BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A54BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BBC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BBC#FFFFFF#000000##FFFFFF
##A54BBC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BC0
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#A55D7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54bbc;
/* rgb */ color: rgb(165, 75, 188);
/* oklch */ color: oklch(57.3% 0.185 319.0);
Tailwind
colors: {
  custom: {
    50: '#c282d1',
    500: '#a54bbc',
    950: '#000000',
  },
}
SCSS
$custom: #a54bbc;
$custom-light: #c282d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bbc",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 287.788,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.18527,
    "h": 319
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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