#A54CB9#A54CB9

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

Color values

HEX#A54CB9
RGBrgb(165, 76, 185)
HSLhsl(289, 44%, 51%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(10.8%, 58.9%, 0%, 27.5%)
CIE-LABlab(47.84, 52.91, -41.81)
CIE-LCHlch(47.84, 67.44, 321.68°)
OKLaboklab(57.29% 0.1384 -0.1164)
OKLCHoklch(57.29% 0.181 319.9)
XYZxyz(26.8574, 16.6722, 47.6929)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CB9 #60B94C
analogous
#6E4CB9 #A54CB9 #B94C96
triadic
#A54CB9 #B9A54C #4CB9A5
tetradic
#A54CB9 #B96E4C #60B94C #4C96B9
square
#A54CB9 #B96E4C #60B94C #4C96B9
split-complementary
#A54CB9 #96B94C #4CB96E
monochromatic
#592764 #803890 #A54CB9 #BB78CA #D1A4DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54CB9#FFFFFF#000000##FFFFFF
##A54CB91.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)
#346BBC
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#A65D7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54cb9;
/* rgb */ color: rgb(165, 76, 185);
/* oklch */ color: oklch(57.3% 0.181 319.9);
Tailwind
colors: {
  custom: {
    50: '#c283ce',
    500: '#a54cb9',
    950: '#000000',
  },
}
SCSS
$custom: #a54cb9;
$custom-light: #c283ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cb9",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 288.991,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.18087,
    "h": 319.9
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#A54CB9
secondary
#A1C898
accent
#D4546C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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