#A04AE2#A04AE2

#A04AE2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.223 H 306.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A04AE2
RGBrgb(160, 74, 226)
HSLhsl(274, 72%, 59%)
HSVhsv(274, 67%, 89%)
CMYKcmyk(29.2%, 67.3%, 0%, 11.4%)
CIE-LABlab(49.33, 61.36, -63.02)
CIE-LCHlch(49.33, 87.96, 314.23°)
OKLaboklab(59.01% 0.1332 -0.1787)
OKLCHoklch(59.01% 0.223 306.7)
XYZxyz(30.6705, 17.8625, 73.7688)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04AE2 #8CE24A
analogous
#544AE2 #A04AE2 #E24AD8
triadic
#A04AE2 #E2A04A #4AE2A0
tetradic
#A04AE2 #E2544A #8CE24A #4AD8E2
square
#A04AE2 #E2544A #8CE24A #4AD8E2
split-complementary
#A04AE2 #D8E24A #4AE254
monochromatic
#611999 #8321CE #A04AE2 #BC7FEA #D7B3F3

Accessibility & contrast

On white

4.59
#A04AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A04AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A04AE2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04AE2#FFFFFF#000000##FFFFFF
##A04AE21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#956B90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a04ae2;
/* rgb */ color: rgb(160, 74, 226);
/* oklch */ color: oklch(59.0% 0.223 306.7);
Tailwind
colors: {
  custom: {
    50: '#c182ec',
    500: '#a04ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ae2;
$custom-light: #c182ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ae2",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 273.947,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.22284,
    "h": 306.7
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#A04AE2
secondary
#C0E2A6
accent
#EF3988
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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