#A04ECD#A04ECD

#A04ECD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.1% C 0.196 H 311.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A04ECD
RGBrgb(160, 78, 205)
HSLhsl(279, 56%, 55%)
HSVhsv(279, 62%, 80%)
CMYKcmyk(22%, 62%, 0%, 19.6%)
CIE-LABlab(48.67, 54.87, -52.10)
CIE-LCHlch(48.67, 75.66, 316.48°)
OKLaboklab(58.12% 0.1301 -0.1466)
OKLCHoklch(58.12% 0.196 311.6)
XYZxyz(28.2390, 17.3308, 59.6034)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ECD #7BCD4E
analogous
#604ECD #A04ECD #CD4EBA
triadic
#A04ECD #CDA04E #4ECDA0
tetradic
#A04ECD #CD604E #7BCD4E #4EBACD
square
#A04ECD #CD604E #7BCD4E #4EBACD
split-complementary
#A04ECD #BACD4E #4ECD60
monochromatic
#5D237D #8131AD #A04ECD #BA7EDA #D3ADE8

Accessibility & contrast

On white

4.70
#A04ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A04ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04ECD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04ECD#FFFFFF#000000##FFFFFF
##A04ECD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#9B6686
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04ecd;
/* rgb */ color: rgb(160, 78, 205);
/* oklch */ color: oklch(58.1% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#bf84dd',
    500: '#a04ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a04ecd;
$custom-light: #bf84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ecd",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 278.74,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.19601,
    "h": 311.6
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#A04ECD
secondary
#B4D6A1
accent
#DF497E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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