#A04FC4#A04FC4

#A04FC4 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.185 H 314.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A04FC4
RGBrgb(160, 79, 196)
HSLhsl(282, 50%, 54%)
HSVhsv(282, 60%, 77%)
CMYKcmyk(18.4%, 59.7%, 0%, 23.1%)
CIE-LABlab(48.33, 52.45, -47.47)
CIE-LCHlch(48.33, 70.74, 317.85°)
OKLaboklab(57.69% 0.1289 -0.1331)
OKLCHoklch(57.69% 0.185 314.1)
XYZxyz(27.2553, 17.0519, 54.0695)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FC4 #73C44F
analogous
#664FC4 #A04FC4 #C44FAE
triadic
#A04FC4 #C4A04F #4FC4A0
tetradic
#A04FC4 #C4664F #73C44F #4FAEC4
square
#A04FC4 #C4664F #73C44F #4FAEC4
split-complementary
#A04FC4 #AEC44F #4FC466
monochromatic
#5B2672 #7F36A0 #A04FC4 #B97DD3 #D1ABE3

Accessibility & contrast

On white

4.76
#A04FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A04FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FC4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FC4#FFFFFF#000000##FFFFFF
##A04FC41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC8
Deuteranopia (green-blind)
#4B75C1
Tritanopia (blue-blind)
#9D6482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04fc4;
/* rgb */ color: rgb(160, 79, 196);
/* oklch */ color: oklch(57.7% 0.185 314.1);
Tailwind
colors: {
  custom: {
    50: '#bf84d6',
    500: '#a04fc4',
    950: '#000000',
  },
}
SCSS
$custom: #a04fc4;
$custom-light: #bf84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fc4",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 281.538,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.18526,
    "h": 314.1
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#A04FC4
secondary
#AED09E
accent
#D94E79
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A04FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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