#A04CD2#A04CD2

#A04CD2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.204 H 310.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A04CD2
RGBrgb(160, 76, 210)
HSLhsl(278, 60%, 56%)
HSVhsv(278, 64%, 82%)
CMYKcmyk(23.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.63, 56.91, -55.04)
CIE-LCHlch(48.63, 79.17, 315.96°)
OKLaboklab(58.18% 0.1323 -0.1552)
OKLCHoklch(58.18% 0.204 310.4)
XYZxyz(28.7123, 17.2962, 62.7862)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CD2 #7ED24C
analogous
#5D4CD2 #A04CD2 #D24CC1
triadic
#A04CD2 #D2A04C #4CD2A0
tetradic
#A04CD2 #D25D4C #7ED24C #4CC1D2
square
#A04CD2 #D25D4C #7ED24C #4CC1D2
split-complementary
#A04CD2 #C1D24C #4CD25D
monochromatic
#5E2183 #812DB4 #A04CD2 #BA7DDE #D4AEEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A04CD2#FFFFFF#000000##FFFFFF
##A04CD21.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)
#0070D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#996788
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04cd2;
/* rgb */ color: rgb(160, 76, 210);
/* oklch */ color: oklch(58.2% 0.204 310.4);
Tailwind
colors: {
  custom: {
    50: '#c083e0',
    500: '#a04cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a04cd2;
$custom-light: #c083e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cd2",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 277.612,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.20393,
    "h": 310.4
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#A04CD2
secondary
#B6D9A1
accent
#E34580
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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