#A04EC7#A04EC7

#A04EC7 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.190 H 313.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A04EC7
RGBrgb(160, 78, 199)
HSLhsl(281, 52%, 54%)
HSVhsv(281, 61%, 78%)
CMYKcmyk(19.6%, 60.8%, 0%, 22%)
CIE-LABlab(48.32, 53.58, -49.21)
CIE-LCHlch(48.32, 72.75, 317.43°)
OKLaboklab(57.75% 0.1301 -0.1382)
OKLCHoklch(57.75% 0.19 313.3)
XYZxyz(27.5286, 17.0467, 55.8619)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EC7 #75C74E
analogous
#644EC7 #A04EC7 #C74EB2
triadic
#A04EC7 #C7A04E #4EC7A0
tetradic
#A04EC7 #C7644E #75C74E #4EB2C7
square
#A04EC7 #C7644E #75C74E #4EB2C7
split-complementary
#A04EC7 #B2C74E #4EC764
monochromatic
#5C2575 #8034A4 #A04EC7 #B97CD6 #D2ABE4

Accessibility & contrast

On white

4.76
#A04EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A04EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04EC7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EC7#FFFFFF#000000##FFFFFF
##A04EC71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236ECB
Deuteranopia (green-blind)
#4875C4
Tritanopia (blue-blind)
#9C6483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04ec7;
/* rgb */ color: rgb(160, 78, 199);
/* oklch */ color: oklch(57.7% 0.190 313.3);
Tailwind
colors: {
  custom: {
    50: '#bf84d8',
    500: '#a04ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a04ec7;
$custom-light: #bf84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ec7",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 280.661,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57746,
    "c": 0.18982,
    "h": 313.3
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#A04EC7
secondary
#AFD29F
accent
#DB4C7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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