#A54BB4#A54BB4

#A54BB4 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.178 H 321.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A54BB4
RGBrgb(165, 75, 180)
HSLhsl(291, 41%, 50%)
HSVhsv(291, 58%, 71%)
CMYKcmyk(8.3%, 58.3%, 0%, 29.4%)
CIE-LABlab(47.40, 52.41, -39.59)
CIE-LCHlch(47.40, 65.69, 322.93°)
OKLaboklab(56.88% 0.1394 -0.11)
OKLCHoklch(56.88% 0.178 321.7)
XYZxyz(26.2704, 16.3280, 44.9390)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BB4 #5AB44B
analogous
#714BB4 #A54BB4 #B44B8E
triadic
#A54BB4 #B4A54B #4BB4A5
tetradic
#A54BB4 #B4714B #5AB44B #4B8EB4
square
#A54BB4 #B4714B #5AB44B #4B8EB4
split-complementary
#A54BB4 #8EB44B #4BB471
monochromatic
#56275E #7D3989 #A54BB4 #BB76C6 #D0A1D8

Accessibility & contrast

On white

4.92
#A54BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A54BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BB4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BB4#FFFFFF#000000##FFFFFF
##A54BB41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#A75A78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a54bb4;
/* rgb */ color: rgb(165, 75, 180);
/* oklch */ color: oklch(56.9% 0.178 321.7);
Tailwind
colors: {
  custom: {
    50: '#c282cb',
    500: '#a54bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a54bb4;
$custom-light: #c282cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bb4",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 291.429,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.17756,
    "h": 321.7
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#A54BB4
secondary
#9DC596
accent
#D15768
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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