#A04EC2#A04EC2

#A04EC2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.185 H 314.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A04EC2
RGBrgb(160, 78, 194)
HSLhsl(282, 49%, 53%)
HSVhsv(282, 60%, 76%)
CMYKcmyk(17.5%, 59.8%, 0%, 23.9%)
CIE-LABlab(48.03, 52.52, -46.79)
CIE-LCHlch(48.03, 70.34, 318.30°)
OKLaboklab(57.44% 0.1301 -0.1311)
OKLCHoklch(57.44% 0.185 314.8)
XYZxyz(26.9576, 16.8183, 52.8547)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EC2 #70C24E
analogous
#664EC2 #A04EC2 #C24EAA
triadic
#A04EC2 #C2A04E #4EC2A0
tetradic
#A04EC2 #C2664E #70C24E #4EAAC2
square
#A04EC2 #C2664E #70C24E #4EAAC2
split-complementary
#A04EC2 #AAC24E #4EC266
monochromatic
#5A266F #7F369D #A04EC2 #B87CD2 #D1A9E1

Accessibility & contrast

On white

4.81
#A04EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A04EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04EC2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EC2#FFFFFF#000000##FFFFFF
##A04EC21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#4C74BF
Tritanopia (blue-blind)
#9D6281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a04ec2;
/* rgb */ color: rgb(160, 78, 194);
/* oklch */ color: oklch(57.4% 0.185 314.8);
Tailwind
colors: {
  custom: {
    50: '#bf84d5',
    500: '#a04ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ec2;
$custom-light: #bf84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ec2",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 282.414,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.18468,
    "h": 314.8
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#A04EC2
secondary
#ACCF9D
accent
#D85078
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A04EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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