#A04DEC#A04DEC

#A04DEC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.229 H 304.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A04DEC
RGBrgb(160, 77, 236)
HSLhsl(271, 81%, 61%)
HSVhsv(271, 67%, 93%)
CMYKcmyk(32.2%, 67.4%, 0%, 7.5%)
CIE-LABlab(50.50, 62.25, -66.78)
CIE-LCHlch(50.50, 91.29, 312.99°)
OKLaboklab(60.07% 0.1289 -0.1897)
OKLCHoklch(60.07% 0.229 304.2)
XYZxyz(32.2880, 18.8376, 81.2756)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DEC #99EC4D
analogous
#514DEC #A04DEC #EC4DE8
triadic
#A04DEC #ECA04D #4DECA0
tetradic
#A04DEC #EC514D #99EC4D #4DE8EC
square
#A04DEC #EC514D #99EC4D #4DE8EC
split-complementary
#A04DEC #E8EC4D #4DEC51
monochromatic
#6312AC #8218E4 #A04DEC #BE84F2 #DBBCF8

Accessibility & contrast

On white

4.40
#A04DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A04DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04DEC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DEC#FFFFFF#000000##000000
##A04DEC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0678E9
Tritanopia (blue-blind)
#927197
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04dec;
/* rgb */ color: rgb(160, 77, 236);
/* oklch */ color: oklch(60.1% 0.229 304.2);
Tailwind
colors: {
  custom: {
    50: '#c184f3',
    500: '#a04dec',
    950: '#000000',
  },
}
SCSS
$custom: #a04dec;
$custom-light: #c184f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04dec",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 271.321,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.22936,
    "h": 304.2
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#A04DEC
secondary
#C9E8AD
accent
#DD086E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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