#A04CD8#A04CD8

#A04CD8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.210 H 308.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A04CD8
RGBrgb(160, 76, 216)
HSLhsl(276, 64%, 57%)
HSVhsv(276, 65%, 85%)
CMYKcmyk(25.9%, 64.8%, 0%, 15.3%)
CIE-LABlab(49.01, 58.22, -57.86)
CIE-LCHlch(49.01, 82.08, 315.18°)
OKLaboklab(58.58% 0.1319 -0.1635)
OKLCHoklch(58.58% 0.21 308.9)
XYZxyz(29.4738, 17.6008, 66.7971)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CD8 #84D84C
analogous
#5A4CD8 #A04CD8 #D84CCA
triadic
#A04CD8 #D8A04C #4CD8A0
tetradic
#A04CD8 #D85A4C #84D84C #4CCAD8
square
#A04CD8 #D85A4C #84D84C #4CCAD8
split-complementary
#A04CD8 #CAD84C #4CD85A
monochromatic
#601E8B #8229BE #A04CD8 #BB7EE3 #D5B1EE

Accessibility & contrast

On white

4.65
#A04CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A04CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CD8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CD8#FFFFFF#000000##FFFFFF
##A04CD81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3476D5
Tritanopia (blue-blind)
#98698C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04cd8;
/* rgb */ color: rgb(160, 76, 216);
/* oklch */ color: oklch(58.6% 0.210 308.9);
Tailwind
colors: {
  custom: {
    50: '#c083e5',
    500: '#a04cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a04cd8;
$custom-light: #c083e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cd8",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 276,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.21008,
    "h": 308.9
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#A04CD8
secondary
#BADCA4
accent
#E74183
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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