#A04ECC#A04ECC

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

Color values

HEX#A04ECC
RGBrgb(160, 78, 204)
HSLhsl(279, 55%, 55%)
HSVhsv(279, 62%, 80%)
CMYKcmyk(21.6%, 61.8%, 0%, 20%)
CIE-LABlab(48.61, 54.65, -51.62)
CIE-LCHlch(48.61, 75.18, 316.63°)
OKLaboklab(58.06% 0.1301 -0.1452)
OKLCHoklch(58.06% 0.195 311.9)
XYZxyz(28.1187, 17.2827, 58.9697)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ECC #7ACC4E
analogous
#614ECC #A04ECC #CC4EB9
triadic
#A04ECC #CCA04E #4ECCA0
tetradic
#A04ECC #CC614E #7ACC4E #4EB9CC
square
#A04ECC #CC614E #7ACC4E #4EB9CC
split-complementary
#A04ECC #B9CC4E #4ECC61
monochromatic
#5D247C #8131AB #A04ECC #BA7EDA #D3ADE7

Accessibility & contrast

On white

4.71
#A04ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A04ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04ECC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04ECC#FFFFFF#000000##FFFFFF
##A04ECC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FD0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#9B6686
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04ecc;
/* rgb */ color: rgb(160, 78, 204);
/* oklch */ color: oklch(58.1% 0.195 311.9);
Tailwind
colors: {
  custom: {
    50: '#bf84dc',
    500: '#a04ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a04ecc;
$custom-light: #bf84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ecc",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 279.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.19497,
    "h": 311.9
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#A04ECC
secondary
#B3D5A1
accent
#DF497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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