#A54296#A54296

#A54296 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.2% C 0.165 H 333.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A54296
RGBrgb(165, 66, 150)
HSLhsl(309, 43%, 45%)
HSVhsv(309, 60%, 65%)
CMYKcmyk(0%, 60%, 9.1%, 35.3%)
CIE-LABlab(44.38, 51.21, -26.56)
CIE-LCHlch(44.38, 57.69, 332.58°)
OKLaboklab(54.18% 0.1479 -0.0724)
OKLCHoklch(54.18% 0.165 333.9)
XYZxyz(22.9704, 14.0995, 30.3599)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54296 #42A551
analogous
#8242A5 #A54296 #A54264
triadic
#A54296 #96A542 #4296A5
tetradic
#A54296 #A58242 #42A551 #4264A5
square
#A54296 #A58242 #42A551 #4264A5
split-complementary
#A54296 #64A542 #42A582
monochromatic
#4E1F47 #79316E #A54296 #C163B3 #D28FC8

Accessibility & contrast

On white

5.50
#A54296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A54296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54296
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54296#FFFFFF#000000##FFFFFF
##A542961.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#5F6E93
Tritanopia (blue-blind)
#AC4966
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54296;
/* rgb */ color: rgb(165, 66, 150);
/* oklch */ color: oklch(54.2% 0.165 333.9);
Tailwind
colors: {
  custom: {
    50: '#c27cb5',
    500: '#a54296',
    950: '#000000',
  },
}
SCSS
$custom: #a54296;
$custom-light: #c27cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54296",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 309.091,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.16467,
    "h": 333.9
  },
  "luminance": 0.14098
}

Semantic roles & 50–950 ramp

primary
#A54296
secondary
#85BD8E
accent
#D36855
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54296

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

Preview Lab → · Contrast checker → · Palette generator →

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