#A54299#A54299

#A54299 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.3% C 0.167 H 332.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A54299
RGBrgb(165, 66, 153)
HSLhsl(307, 43%, 45%)
HSVhsv(307, 60%, 65%)
CMYKcmyk(0%, 60%, 7.3%, 35.3%)
CIE-LABlab(44.51, 51.71, -28.15)
CIE-LCHlch(44.51, 58.87, 331.44°)
OKLaboklab(54.33% 0.1484 -0.0769)
OKLCHoklch(54.33% 0.167 332.6)
XYZxyz(23.2150, 14.1974, 31.6485)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54299 #42A54E
analogous
#8042A5 #A54299 #A54267
triadic
#A54299 #99A542 #4299A5
tetradic
#A54299 #A58042 #42A54E #4267A5
square
#A54299 #A58042 #42A54E #4267A5
split-complementary
#A54299 #67A542 #42A580
monochromatic
#4E1F48 #793170 #A54299 #C163B5 #D28FCA

Accessibility & contrast

On white

5.47
#A54299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A54299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54299
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54299#FFFFFF#000000##FFFFFF
##A542991.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#AC4A67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54299;
/* rgb */ color: rgb(165, 66, 153);
/* oklch */ color: oklch(54.3% 0.167 332.6);
Tailwind
colors: {
  custom: {
    50: '#c27cb7',
    500: '#a54299',
    950: '#000000',
  },
}
SCSS
$custom: #a54299;
$custom-light: #c27cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a54299",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 307.273,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.16711,
    "h": 332.6
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#A54299
secondary
#85BD8C
accent
#D36455
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54299

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

Preview Lab → · Contrast checker → · Palette generator →

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