#A04097#A04097

#A04097 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.3% C 0.165 H 331.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A04097
RGBrgb(160, 64, 151)
HSLhsl(306, 43%, 44%)
HSVhsv(306, 60%, 63%)
CMYKcmyk(0%, 60%, 5.6%, 37.3%)
CIE-LABlab(43.32, 50.90, -28.86)
CIE-LCHlch(43.32, 58.51, 330.44°)
OKLaboklab(53.27% 0.1451 -0.079)
OKLCHoklch(53.27% 0.165 331.4)
XYZxyz(21.9164, 13.3763, 30.6997)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04097 #40A049
analogous
#7940A0 #A04097 #A04067
triadic
#A04097 #97A040 #4097A0
tetradic
#A04097 #A07940 #40A049 #4067A0
square
#A04097 #A07940 #40A049 #4067A0
split-complementary
#A04097 #67A040 #40A079
monochromatic
#491D44 #742F6E #A04097 #BF5EB6 #D08ACA

Accessibility & contrast

On white

5.71
#A04097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A04097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04097
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04097#FFFFFF#000000##FFFFFF
##A040971.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#A64965
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a04097;
/* rgb */ color: rgb(160, 64, 151);
/* oklch */ color: oklch(53.3% 0.165 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf7bb6',
    500: '#a04097',
    950: '#000000',
  },
}
SCSS
$custom: #a04097;
$custom-light: #bf7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a04097",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 305.625,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.16523,
    "h": 331.4
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#A04097
secondary
#81BB86
accent
#D36155
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #A04097

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

Preview Lab → · Contrast checker → · Palette generator →

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