#A04FC5#A04FC5

#A04FC5 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.186 H 313.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A04FC5
RGBrgb(160, 79, 197)
HSLhsl(281, 50%, 54%)
HSVhsv(281, 60%, 77%)
CMYKcmyk(18.8%, 59.9%, 0%, 22.7%)
CIE-LABlab(48.38, 52.66, -47.96)
CIE-LCHlch(48.38, 71.23, 317.68°)
OKLaboklab(57.76% 0.1289 -0.1345)
OKLCHoklch(57.76% 0.186 313.8)
XYZxyz(27.3695, 17.0976, 54.6709)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FC5 #74C54F
analogous
#654FC5 #A04FC5 #C54FAF
triadic
#A04FC5 #C5A04F #4FC5A0
tetradic
#A04FC5 #C5654F #74C54F #4FAFC5
square
#A04FC5 #C5654F #74C54F #4FAFC5
split-complementary
#A04FC5 #AFC54F #4FC565
monochromatic
#5B2674 #8035A2 #A04FC5 #B97DD4 #D2ABE3

Accessibility & contrast

On white

4.75
#A04FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A04FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FC5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FC5#FFFFFF#000000##FFFFFF
##A04FC51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#4A75C2
Tritanopia (blue-blind)
#9D6483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04fc5;
/* rgb */ color: rgb(160, 79, 197);
/* oklch */ color: oklch(57.8% 0.186 313.8);
Tailwind
colors: {
  custom: {
    50: '#bf85d7',
    500: '#a04fc5',
    950: '#000000',
  },
}
SCSS
$custom: #a04fc5;
$custom-light: #bf85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fc5",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 281.186,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.18629,
    "h": 313.8
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#A04FC5
secondary
#AFD19F
accent
#DA4E7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A04FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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