#A04ECE#A04ECE

#A04ECE is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.2% C 0.197 H 311.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A04ECE
RGBrgb(160, 78, 206)
HSLhsl(278, 57%, 56%)
HSVhsv(278, 62%, 81%)
CMYKcmyk(22.3%, 62.1%, 0%, 19.2%)
CIE-LABlab(48.73, 55.09, -52.58)
CIE-LCHlch(48.73, 76.15, 316.33°)
OKLaboklab(58.18% 0.13 -0.148)
OKLCHoklch(58.18% 0.197 311.3)
XYZxyz(28.3601, 17.3792, 60.2411)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ECE #7CCE4E
analogous
#604ECE #A04ECE #CE4EBC
triadic
#A04ECE #CEA04E #4ECEA0
tetradic
#A04ECE #CE604E #7CCE4E #4EBCCE
square
#A04ECE #CE604E #7CCE4E #4EBCCE
split-complementary
#A04ECE #BCCE4E #4ECE60
monochromatic
#5E237F #8130AE #A04ECE #BA7EDB #D3AEE9

Accessibility & contrast

On white

4.69
#A04ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A04ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04ECE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04ECE#FFFFFF#000000##FFFFFF
##A04ECE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D2
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#9A6787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04ece;
/* rgb */ color: rgb(160, 78, 206);
/* oklch */ color: oklch(58.2% 0.197 311.3);
Tailwind
colors: {
  custom: {
    50: '#c084de',
    500: '#a04ece',
    950: '#000000',
  },
}
SCSS
$custom: #a04ece;
$custom-light: #c084de;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ece",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 278.438,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.19704,
    "h": 311.3
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#A04ECE
secondary
#B4D7A1
accent
#E0487F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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