#A04CE5#A04CE5

#A04CE5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.223 H 305.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A04CE5
RGBrgb(160, 76, 229)
HSLhsl(273, 75%, 60%)
HSVhsv(273, 67%, 90%)
CMYKcmyk(30.1%, 66.8%, 0%, 10.2%)
CIE-LABlab(49.86, 61.12, -63.86)
CIE-LCHlch(49.86, 88.40, 313.74°)
OKLaboklab(59.46% 0.1307 -0.1812)
OKLCHoklch(59.46% 0.223 305.8)
XYZxyz(31.2214, 18.2999, 76.0010)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CE5 #91E54C
analogous
#544CE5 #A04CE5 #E54CDE
triadic
#A04CE5 #E5A04C #4CE5A0
tetradic
#A04CE5 #E5544C #91E54C #4CDEE5
square
#A04CE5 #E5544C #91E54C #4CDEE5
split-complementary
#A04CE5 #DEE54C #4CE554
monochromatic
#62179F #831FD5 #A04CE5 #BC81ED #D9B7F5

Accessibility & contrast

On white

4.51
#A04CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A04CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04CE5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CE5#FFFFFF#000000##000000
##A04CE51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#946E93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04ce5;
/* rgb */ color: rgb(160, 76, 229);
/* oklch */ color: oklch(59.5% 0.223 305.8);
Tailwind
colors: {
  custom: {
    50: '#c184ee',
    500: '#a04ce5',
    950: '#000000',
  },
}
SCSS
$custom: #a04ce5;
$custom-light: #c184ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ce5",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 272.941,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.22341,
    "h": 305.8
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#A04CE5
secondary
#C4E4A9
accent
#F1378B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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