#A04EE4#A04EE4

#A04EE4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.220 H 305.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A04EE4
RGBrgb(160, 78, 228)
HSLhsl(273, 74%, 60%)
HSVhsv(273, 66%, 89%)
CMYKcmyk(29.8%, 65.8%, 0%, 10.6%)
CIE-LABlab(50.13, 59.97, -62.87)
CIE-LCHlch(50.13, 86.88, 313.65°)
OKLaboklab(59.63% 0.1287 -0.1782)
OKLCHoklch(59.63% 0.22 305.8)
XYZxyz(31.2221, 18.5241, 75.3144)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EE4 #92E44E
analogous
#554EE4 #A04EE4 #E44EDD
triadic
#A04EE4 #E4A04E #4EE4A0
tetradic
#A04EE4 #E4554E #92E44E #4EDDE4
square
#A04EE4 #E4554E #92E44E #4EDDE4
split-complementary
#A04EE4 #DDE44E #4EE455
monochromatic
#62189F #8320D4 #A04EE4 #BC83EC #D9B8F4

Accessibility & contrast

On white

4.46
#A04EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A04EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04EE4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EE4#FFFFFF#000000##000000
##A04EE41.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#946F93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04ee4;
/* rgb */ color: rgb(160, 78, 228);
/* oklch */ color: oklch(59.6% 0.220 305.8);
Tailwind
colors: {
  custom: {
    50: '#c185ed',
    500: '#a04ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a04ee4;
$custom-light: #c185ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ee4",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 272.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.21985,
    "h": 305.8
  },
  "luminance": 0.18524
}

Semantic roles & 50–950 ramp

primary
#A04EE4
secondary
#C4E4AA
accent
#F0388B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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