#A04ECA#A04ECA

#A04ECA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.193 H 312.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A04ECA
RGBrgb(160, 78, 202)
HSLhsl(280, 54%, 55%)
HSVhsv(280, 61%, 79%)
CMYKcmyk(20.8%, 61.4%, 0%, 20.8%)
CIE-LABlab(48.50, 54.22, -50.66)
CIE-LCHlch(48.50, 74.21, 316.94°)
OKLaboklab(57.93% 0.1301 -0.1424)
OKLCHoklch(57.93% 0.193 312.4)
XYZxyz(27.8804, 17.1874, 57.7145)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ECA #78CA4E
analogous
#624ECA #A04ECA #CA4EB6
triadic
#A04ECA #CAA04E #4ECAA0
tetradic
#A04ECA #CA624E #78CA4E #4EB6CA
square
#A04ECA #CA624E #78CA4E #4EB6CA
split-complementary
#A04ECA #B6CA4E #4ECA62
monochromatic
#5D2479 #8032A8 #A04ECA #B97DD8 #D3ACE6

Accessibility & contrast

On white

4.73
#A04ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A04ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04ECA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04ECA#FFFFFF#000000##FFFFFF
##A04ECA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#9B6585
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04eca;
/* rgb */ color: rgb(160, 78, 202);
/* oklch */ color: oklch(57.9% 0.193 312.4);
Tailwind
colors: {
  custom: {
    50: '#bf84db',
    500: '#a04eca',
    950: '#000000',
  },
}
SCSS
$custom: #a04eca;
$custom-light: #bf84db;
$custom-dark: #000000;
JSON
{
  "hex": "#a04eca",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 279.677,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.1929,
    "h": 312.4
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#A04ECA
secondary
#B1D4A0
accent
#DD4B7C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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