#A54BB1#A54BB1

#A54BB1 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.7% C 0.175 H 322.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A54BB1
RGBrgb(165, 75, 177)
HSLhsl(293, 40%, 49%)
HSVhsv(293, 58%, 69%)
CMYKcmyk(6.8%, 57.6%, 0%, 30.6%)
CIE-LABlab(47.24, 51.83, -38.09)
CIE-LCHlch(47.24, 64.32, 323.69°)
OKLaboklab(56.71% 0.1392 -0.1056)
OKLCHoklch(56.71% 0.175 322.8)
XYZxyz(25.9681, 16.2071, 43.3469)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BB1 #57B14B
analogous
#724BB1 #A54BB1 #B14B8A
triadic
#A54BB1 #B1A54B #4BB1A5
tetradic
#A54BB1 #B1724B #57B14B #4B8AB1
square
#A54BB1 #B1724B #57B14B #4B8AB1
split-complementary
#A54BB1 #8AB14B #4BB172
monochromatic
#55275B #7D3986 #A54BB1 #BB75C4 #D0A0D7

Accessibility & contrast

On white

4.95
#A54BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A54BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BB1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BB1#FFFFFF#000000##FFFFFF
##A54BB11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B4
Deuteranopia (green-blind)
#5874AE
Tritanopia (blue-blind)
#A75977
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a54bb1;
/* rgb */ color: rgb(165, 75, 177);
/* oklch */ color: oklch(56.7% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#c282c9',
    500: '#a54bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a54bb1;
$custom-light: #c282c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bb1",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 292.941,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.17471,
    "h": 322.8
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#A54BB1
secondary
#9AC394
accent
#D05766
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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