#A04EA2#A04EA2

#A04EA2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.153 H 326.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A04EA2
RGBrgb(160, 78, 162)
HSLhsl(299, 35%, 47%)
HSVhsv(299, 52%, 64%)
CMYKcmyk(1.2%, 51.9%, 0%, 36.5%)
CIE-LABlab(46.35, 46.13, -30.69)
CIE-LCHlch(46.35, 55.40, 326.36°)
OKLaboklab(55.67% 0.1275 -0.0844)
OKLCHoklch(55.67% 0.153 326.5)
XYZxyz(23.7427, 15.5323, 35.9228)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EA2 #50A24E
analogous
#764EA2 #A04EA2 #A24E7A
triadic
#A04EA2 #A2A04E #4EA2A0
tetradic
#A04EA2 #A2764E #50A24E #4E7AA2
square
#A04EA2 #A2764E #50A24E #4E7AA2
split-complementary
#A04EA2 #7AA24E #4EA276
monochromatic
#4E264F #773A79 #A04EA2 #B972BB #CE9BCF

Accessibility & contrast

On white

5.11
#A04EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A04EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04EA2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EA2#FFFFFF#000000##FFFFFF
##A04EA21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#A45871
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04ea2;
/* rgb */ color: rgb(160, 78, 162);
/* oklch */ color: oklch(55.7% 0.153 326.5);
Tailwind
colors: {
  custom: {
    50: '#be83be',
    500: '#a04ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ea2;
$custom-light: #be83be;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ea2",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 298.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.15287,
    "h": 326.5
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#A04EA2
secondary
#91BC90
accent
#CB5D5F
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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