#A04F97#A04F97

#A04F97 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.3% C 0.141 H 331.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A04F97
RGBrgb(160, 79, 151)
HSLhsl(307, 34%, 47%)
HSVhsv(307, 51%, 63%)
CMYKcmyk(0%, 50.6%, 5.6%, 37.3%)
CIE-LABlab(46.04, 43.60, -24.63)
CIE-LCHlch(46.04, 50.07, 330.54°)
OKLaboklab(55.28% 0.1241 -0.0671)
OKLCHoklch(55.28% 0.141 331.6)
XYZxyz(22.8790, 15.3013, 31.0205)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04F97 #4FA058
analogous
#814FA0 #A04F97 #A04F6F
triadic
#A04F97 #97A04F #4F97A0
tetradic
#A04F97 #A0814F #4FA058 #4F6FA0
square
#A04F97 #A0814F #4FA058 #4F6FA0
split-complementary
#A04F97 #6FA04F #4FA081
monochromatic
#4E274A #773B70 #A04F97 #BA73B2 #CE9CC8

Accessibility & contrast

On white

5.17
#A04F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A04F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04F97
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04F97#FFFFFF#000000##FFFFFF
##A04F971.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#A6556C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a04f97;
/* rgb */ color: rgb(160, 79, 151);
/* oklch */ color: oklch(55.3% 0.141 331.6);
Tailwind
colors: {
  custom: {
    50: '#be84b6',
    500: '#a04f97',
    950: '#000000',
  },
}
SCSS
$custom: #a04f97;
$custom-light: #be84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a04f97",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 306.667,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.14108,
    "h": 331.6
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#A04F97
secondary
#90BB95
accent
#CA6A5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #A04F97

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

Preview Lab → · Contrast checker → · Palette generator →

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