#A04EE2#A04EE2

#A04EE2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.218 H 306.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A04EE2
RGBrgb(160, 78, 226)
HSLhsl(273, 72%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(29.2%, 65.5%, 0%, 11.4%)
CIE-LABlab(49.99, 59.52, -61.95)
CIE-LCHlch(49.99, 85.91, 313.85°)
OKLaboklab(59.49% 0.1289 -0.1755)
OKLCHoklch(59.49% 0.218 306.3)
XYZxyz(30.9461, 18.4136, 73.8607)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EE2 #90E24E
analogous
#564EE2 #A04EE2 #E24EDA
triadic
#A04EE2 #E2A04E #4EE2A0
tetradic
#A04EE2 #E2564E #90E24E #4EDAE2
square
#A04EE2 #E2564E #90E24E #4EDAE2
split-complementary
#A04EE2 #DAE24E #4EE256
monochromatic
#621A9C #8322D1 #A04EE2 #BC83EB #D8B7F3

Accessibility & contrast

On white

4.48
#A04EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A04EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04EE2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EE2#FFFFFF#000000##000000
##A04EE21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2877DF
Tritanopia (blue-blind)
#956E92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04ee2;
/* rgb */ color: rgb(160, 78, 226);
/* oklch */ color: oklch(59.5% 0.218 306.3);
Tailwind
colors: {
  custom: {
    50: '#c185ec',
    500: '#a04ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ee2;
$custom-light: #c185ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ee2",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 273.243,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.21777,
    "h": 306.3
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#A04EE2
secondary
#C3E3A9
accent
#EF398A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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