#A04FB5#A04FB5

#A04FB5 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.8% C 0.170 H 319.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A04FB5
RGBrgb(160, 79, 181)
HSLhsl(288, 41%, 51%)
HSVhsv(288, 56%, 71%)
CMYKcmyk(11.6%, 56.4%, 0%, 29%)
CIE-LABlab(47.50, 49.34, -40.07)
CIE-LCHlch(47.50, 63.56, 320.92°)
OKLaboklab(56.82% 0.1282 -0.1115)
OKLCHoklch(56.82% 0.17 319)
XYZxyz(25.6326, 16.4028, 45.5229)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FB5 #64B54F
analogous
#6D4FB5 #A04FB5 #B54F97
triadic
#A04FB5 #B5A04F #4FB5A0
tetradic
#A04FB5 #B56D4F #64B54F #4F97B5
square
#A04FB5 #B56D4F #64B54F #4F97B5
split-complementary
#A04FB5 #97B54F #4FB56D
monochromatic
#552961 #7B3B8C #A04FB5 #B77AC7 #CFA5D9

Accessibility & contrast

On white

4.91
#A04FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A04FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FB5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FB5#FFFFFF#000000##FFFFFF
##A04FB51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#A05F7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a04fb5;
/* rgb */ color: rgb(160, 79, 181);
/* oklch */ color: oklch(56.8% 0.170 319.0);
Tailwind
colors: {
  custom: {
    50: '#be84cb',
    500: '#a04fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a04fb5;
$custom-light: #be84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fb5",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 287.647,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.1699,
    "h": 319
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#A04FB5
secondary
#A3C699
accent
#D15770
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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