#A04DCD#A04DCD

#A04DCD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 58.0% C 0.197 H 311.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A04DCD
RGBrgb(160, 77, 205)
HSLhsl(279, 56%, 55%)
HSVhsv(279, 62%, 80%)
CMYKcmyk(22%, 62.4%, 0%, 19.6%)
CIE-LABlab(48.50, 55.35, -52.38)
CIE-LCHlch(48.50, 76.21, 316.58°)
OKLaboklab(57.99% 0.1313 -0.1474)
OKLCHoklch(57.99% 0.197 311.7)
XYZxyz(28.1685, 17.1898, 59.5799)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DCD #7ACD4D
analogous
#604DCD #A04DCD #CD4DBA
triadic
#A04DCD #CDA04D #4DCDA0
tetradic
#A04DCD #CD604D #7ACD4D #4DBACD
square
#A04DCD #CD604D #7ACD4D #4DBACD
split-complementary
#A04DCD #BACD4D #4DCD60
monochromatic
#5D237D #8130AC #A04DCD #B97DDA #D3ADE8

Accessibility & contrast

On white

4.73
#A04DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A04DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04DCD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DCD#FFFFFF#000000##FFFFFF
##A04DCD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#9B6686
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04dcd;
/* rgb */ color: rgb(160, 77, 205);
/* oklch */ color: oklch(58.0% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#c084dd',
    500: '#a04dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a04dcd;
$custom-light: #c084dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a04dcd",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 278.906,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.19741,
    "h": 311.7
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#A04DCD
secondary
#B3D6A0
accent
#DF487D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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