#A54397#A54397

#A54397 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.4% C 0.164 H 333.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A54397
RGBrgb(165, 67, 151)
HSLhsl(309, 42%, 45%)
HSVhsv(309, 59%, 65%)
CMYKcmyk(0%, 59.4%, 8.5%, 35.3%)
CIE-LABlab(44.59, 50.92, -26.83)
CIE-LCHlch(44.59, 57.55, 332.21°)
OKLaboklab(54.35% 0.1467 -0.0732)
OKLCHoklch(54.35% 0.164 333.5)
XYZxyz(23.1102, 14.2497, 30.8054)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54397 #43A551
analogous
#8243A5 #A54397 #A54366
triadic
#A54397 #97A543 #4397A5
tetradic
#A54397 #A58243 #43A551 #4366A5
square
#A54397 #A58243 #43A551 #4366A5
split-complementary
#A54397 #66A543 #43A582
monochromatic
#4E2047 #79316F #A54397 #C065B3 #D290C9

Accessibility & contrast

On white

5.46
#A54397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A54397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54397
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54397#FFFFFF#000000##FFFFFF
##A543971.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41609A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#AC4A67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54397;
/* rgb */ color: rgb(165, 67, 151);
/* oklch */ color: oklch(54.4% 0.164 333.5);
Tailwind
colors: {
  custom: {
    50: '#c27db6',
    500: '#a54397',
    950: '#000000',
  },
}
SCSS
$custom: #a54397;
$custom-light: #c27db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54397",
  "rgb": {
    "r": 165,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 308.571,
    "s": 42.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54353,
    "c": 0.16396,
    "h": 333.5
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#A54397
secondary
#86BD8E
accent
#D26856
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54397

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

Preview Lab → · Contrast checker → · Palette generator →

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