#A04EC8#A04EC8

#A04EC8 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.191 H 313.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A04EC8
RGBrgb(160, 78, 200)
HSLhsl(280, 53%, 55%)
HSVhsv(280, 61%, 78%)
CMYKcmyk(20%, 61%, 0%, 21.6%)
CIE-LABlab(48.38, 53.79, -49.70)
CIE-LCHlch(48.38, 73.24, 317.27°)
OKLaboklab(57.81% 0.1301 -0.1396)
OKLCHoklch(57.81% 0.191 313)
XYZxyz(27.6451, 17.0932, 56.4754)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EC8 #76C84E
analogous
#634EC8 #A04EC8 #C84EB3
triadic
#A04EC8 #C8A04E #4EC8A0
tetradic
#A04EC8 #C8634E #76C84E #4EB3C8
square
#A04EC8 #C8634E #76C84E #4EB3C8
split-complementary
#A04EC8 #B3C84E #4EC863
monochromatic
#5C2577 #8033A5 #A04EC8 #B97DD7 #D2ABE5

Accessibility & contrast

On white

4.75
#A04EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A04EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04EC8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EC8#FFFFFF#000000##FFFFFF
##A04EC81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216FCC
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#9C6484
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04ec8;
/* rgb */ color: rgb(160, 78, 200);
/* oklch */ color: oklch(57.8% 0.191 313.0);
Tailwind
colors: {
  custom: {
    50: '#bf84d9',
    500: '#a04ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a04ec8;
$custom-light: #bf84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ec8",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 280.328,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.19085,
    "h": 313
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#A04EC8
secondary
#B0D39F
accent
#DC4C7B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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