#A04CE2#A04CE2

#A04CE2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.220 H 306.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A04CE2
RGBrgb(160, 76, 226)
HSLhsl(274, 72%, 59%)
HSVhsv(274, 66%, 89%)
CMYKcmyk(29.2%, 66.4%, 0%, 11.4%)
CIE-LABlab(49.66, 60.45, -62.49)
CIE-LCHlch(49.66, 86.94, 314.05°)
OKLaboklab(59.25% 0.1311 -0.1771)
OKLCHoklch(59.25% 0.22 306.5)
XYZxyz(30.8062, 18.1338, 73.8140)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CE2 #8EE24C
analogous
#554CE2 #A04CE2 #E24CD9
triadic
#A04CE2 #E2A04C #4CE2A0
tetradic
#A04CE2 #E2554C #8EE24C #4CD9E2
square
#A04CE2 #E2554C #8EE24C #4CD9E2
split-complementary
#A04CE2 #D9E24C #4CE255
monochromatic
#62199B #8322CF #A04CE2 #BC81EB #D8B5F3

Accessibility & contrast

On white

4.54
#A04CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A04CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04CE2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CE2#FFFFFF#000000##000000
##A04CE21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#956D91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a04ce2;
/* rgb */ color: rgb(160, 76, 226);
/* oklch */ color: oklch(59.3% 0.220 306.5);
Tailwind
colors: {
  custom: {
    50: '#c184ec',
    500: '#a04ce2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ce2;
$custom-light: #c184ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ce2",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 273.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59251,
    "c": 0.22033,
    "h": 306.5
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#A04CE2
secondary
#C1E2A8
accent
#EF3989
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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