#A04EA6#A04EA6

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

Color values

HEX#A04EA6
RGBrgb(160, 78, 166)
HSLhsl(296, 36%, 48%)
HSVhsv(296, 53%, 65%)
CMYKcmyk(3.6%, 53%, 0%, 34.9%)
CIE-LABlab(46.55, 46.88, -32.75)
CIE-LCHlch(46.55, 57.19, 325.06°)
OKLaboklab(55.88% 0.128 -0.0903)
OKLCHoklch(55.88% 0.157 324.8)
XYZxyz(24.1039, 15.6768, 37.8253)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EA6 #54A64E
analogous
#744EA6 #A04EA6 #A64E80
triadic
#A04EA6 #A6A04E #4EA6A0
tetradic
#A04EA6 #A6744E #54A64E #4E80A6
square
#A04EA6 #A6744E #54A64E #4E80A6
split-complementary
#A04EA6 #80A64E #4EA674
monochromatic
#502753 #783A7C #A04EA6 #B874BE #CE9DD1

Accessibility & contrast

On white

5.08
#A04EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A04EA6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EA6#FFFFFF#000000##FFFFFF
##A04EA61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#5C72A3
Tritanopia (blue-blind)
#A35973
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04ea6;
/* rgb */ color: rgb(160, 78, 166);
/* oklch */ color: oklch(55.9% 0.157 324.8);
Tailwind
colors: {
  custom: {
    50: '#be83c1',
    500: '#a04ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a04ea6;
$custom-light: #be83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ea6",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 295.909,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.15669,
    "h": 324.8
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#A04EA6
secondary
#95BE92
accent
#CC5C63
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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