#A04ED8#A04ED8

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

Color values

HEX#A04ED8
RGBrgb(160, 78, 216)
HSLhsl(276, 64%, 58%)
HSVhsv(276, 64%, 85%)
CMYKcmyk(25.9%, 63.9%, 0%, 15.3%)
CIE-LABlab(49.35, 57.28, -57.31)
CIE-LCHlch(49.35, 81.02, 314.99°)
OKLaboklab(58.83% 0.1296 -0.1619)
OKLCHoklch(58.83% 0.207 308.7)
XYZxyz(29.6138, 17.8807, 66.8437)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ED8 #86D84E
analogous
#5B4ED8 #A04ED8 #D84ECB
triadic
#A04ED8 #D8A04E #4ED8A0
tetradic
#A04ED8 #D85B4E #86D84E #4ECBD8
square
#A04ED8 #D85B4E #86D84E #4ECBD8
split-complementary
#A04ED8 #CBD84E #4ED85B
monochromatic
#601F8D #822ABF #A04ED8 #BB80E3 #D6B2EE

Accessibility & contrast

On white

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

On black

4.58
#A04ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A04ED8#FFFFFF#000000##FFFFFF
##A04ED81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#986A8C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a04ed8;
/* rgb */ color: rgb(160, 78, 216);
/* oklch */ color: oklch(58.8% 0.207 308.7);
Tailwind
colors: {
  custom: {
    50: '#c084e5',
    500: '#a04ed8',
    950: '#000000',
  },
}
SCSS
$custom: #a04ed8;
$custom-light: #c084e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ed8",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 275.652,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.2074,
    "h": 308.7
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#A04ED8
secondary
#BCDDA5
accent
#E74184
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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