#A04CE4#A04CE4

#A04CE4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.222 H 306.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A04CE4
RGBrgb(160, 76, 228)
HSLhsl(273, 74%, 60%)
HSVhsv(273, 67%, 89%)
CMYKcmyk(29.8%, 66.7%, 0%, 10.6%)
CIE-LABlab(49.79, 60.90, -63.41)
CIE-LCHlch(49.79, 87.91, 313.84°)
OKLaboklab(59.39% 0.1309 -0.1798)
OKLCHoklch(59.39% 0.222 306)
XYZxyz(31.0822, 18.2442, 75.2678)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CE4 #90E44C
analogous
#544CE4 #A04CE4 #E44CDC
triadic
#A04CE4 #E4A04C #4CE4A0
tetradic
#A04CE4 #E4544C #90E44C #4CDCE4
square
#A04CE4 #E4544C #90E44C #4CDCE4
split-complementary
#A04CE4 #DCE44C #4CE454
monochromatic
#62189E #8320D3 #A04CE4 #BC81EC #D8B6F4

Accessibility & contrast

On white

4.52
#A04CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A04CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04CE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CE4#FFFFFF#000000##000000
##A04CE41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#946D92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a04ce4;
/* rgb */ color: rgb(160, 76, 228);
/* oklch */ color: oklch(59.4% 0.222 306.0);
Tailwind
colors: {
  custom: {
    50: '#c184ed',
    500: '#a04ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a04ce4;
$custom-light: #c184ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ce4",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 273.158,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.22238,
    "h": 306
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#A04CE4
secondary
#C3E3A8
accent
#F0378A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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