#A04CE1#A04CE1

#A04CE1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.219 H 306.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A04CE1
RGBrgb(160, 76, 225)
HSLhsl(274, 71%, 59%)
HSVhsv(274, 66%, 88%)
CMYKcmyk(28.9%, 66.2%, 0%, 11.8%)
CIE-LABlab(49.59, 60.22, -62.03)
CIE-LCHlch(49.59, 86.46, 314.15°)
OKLaboklab(59.18% 0.1312 -0.1758)
OKLCHoklch(59.18% 0.219 306.7)
XYZxyz(30.6694, 18.0790, 73.0935)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CE1 #8DE14C
analogous
#564CE1 #A04CE1 #E14CD7
triadic
#A04CE1 #E1A04C #4CE1A0
tetradic
#A04CE1 #E1564C #8DE14C #4CD7E1
square
#A04CE1 #E1564C #8DE14C #4CD7E1
split-complementary
#A04CE1 #D7E14C #4CE156
monochromatic
#611A99 #8322CD #A04CE1 #BC80EA #D8B5F3

Accessibility & contrast

On white

4.55
#A04CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A04CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04CE1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CE1#FFFFFF#000000##000000
##A04CE11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#2676DE
Tritanopia (blue-blind)
#956C90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a04ce1;
/* rgb */ color: rgb(160, 76, 225);
/* oklch */ color: oklch(59.2% 0.219 306.7);
Tailwind
colors: {
  custom: {
    50: '#c184eb',
    500: '#a04ce1',
    950: '#000000',
  },
}
SCSS
$custom: #a04ce1;
$custom-light: #c184eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ce1",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 273.826,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.21931,
    "h": 306.7
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#A04CE1
secondary
#C1E2A7
accent
#EE3A88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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