#A04CD5#A04CD5

#A04CD5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.207 H 309.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A04CD5
RGBrgb(160, 76, 213)
HSLhsl(277, 62%, 57%)
HSVhsv(277, 64%, 84%)
CMYKcmyk(24.9%, 64.3%, 0%, 16.5%)
CIE-LABlab(48.82, 57.56, -56.45)
CIE-LCHlch(48.82, 80.62, 315.56°)
OKLaboklab(58.38% 0.1321 -0.1594)
OKLCHoklch(58.38% 0.207 309.7)
XYZxyz(29.0895, 17.4471, 64.7731)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CD5 #81D54C
analogous
#5C4CD5 #A04CD5 #D54CC6
triadic
#A04CD5 #D5A04C #4CD5A0
tetradic
#A04CD5 #D55C4C #81D54C #4CC6D5
square
#A04CD5 #D55C4C #81D54C #4CC6D5
split-complementary
#A04CD5 #C6D54C #4CD55C
monochromatic
#5F2087 #822BB9 #A04CD5 #BA7EE1 #D5AFEC

Accessibility & contrast

On white

4.68
#A04CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A04CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CD5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CD5#FFFFFF#000000##FFFFFF
##A04CD51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#99688A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04cd5;
/* rgb */ color: rgb(160, 76, 213);
/* oklch */ color: oklch(58.4% 0.207 309.7);
Tailwind
colors: {
  custom: {
    50: '#c083e3',
    500: '#a04cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a04cd5;
$custom-light: #c083e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cd5",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 276.788,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.207,
    "h": 309.7
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#A04CD5
secondary
#B8DAA2
accent
#E54382
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A04CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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