#A04EA7#A04EA7

#A04EA7 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.9% C 0.158 H 324.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A04EA7
RGBrgb(160, 78, 167)
HSLhsl(295, 36%, 48%)
HSVhsv(295, 53%, 65%)
CMYKcmyk(4.2%, 53.3%, 0%, 34.5%)
CIE-LABlab(46.60, 47.08, -33.27)
CIE-LCHlch(46.60, 57.64, 324.75°)
OKLaboklab(55.93% 0.1281 -0.0918)
OKLCHoklch(55.93% 0.158 324.4)
XYZxyz(24.1960, 15.7136, 38.3103)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EA7 #55A74E
analogous
#734EA7 #A04EA7 #A74E81
triadic
#A04EA7 #A7A04E #4EA7A0
tetradic
#A04EA7 #A7734E #55A74E #4E81A7
square
#A04EA7 #A7734E #55A74E #4E81A7
split-complementary
#A04EA7 #81A74E #4EA773
monochromatic
#502754 #783B7D #A04EA7 #B874BE #CE9ED2

Accessibility & contrast

On white

5.07
#A04EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A04EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04EA7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EA7#FFFFFF#000000##FFFFFF
##A04EA71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#A35973
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04ea7;
/* rgb */ color: rgb(160, 78, 167);
/* oklch */ color: oklch(55.9% 0.158 324.4);
Tailwind
colors: {
  custom: {
    50: '#be83c1',
    500: '#a04ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a04ea7;
$custom-light: #be83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ea7",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 295.281,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.15764,
    "h": 324.4
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#A04EA7
secondary
#96BE92
accent
#CC5B64
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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