#A04DAF#A04DAF

#A04DAF is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.167 H 321.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A04DAF
RGBrgb(160, 77, 175)
HSLhsl(291, 39%, 49%)
HSVhsv(291, 56%, 69%)
CMYKcmyk(8.6%, 56%, 0%, 31.4%)
CIE-LABlab(46.81, 49.13, -37.64)
CIE-LCHlch(46.81, 61.89, 322.55°)
OKLaboklab(56.22% 0.1304 -0.1044)
OKLCHoklch(56.22% 0.167 321.3)
XYZxyz(24.8881, 15.8776, 42.3028)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DAF #5CAF4D
analogous
#6F4DAF #A04DAF #AF4D8D
triadic
#A04DAF #AFA04D #4DAFA0
tetradic
#A04DAF #AF6F4D #5CAF4D #4D8DAF
square
#A04DAF #AF6F4D #5CAF4D #4D8DAF
split-complementary
#A04DAF #8DAF4D #4DAF6F
monochromatic
#52285A #793A85 #A04DAF #B776C3 #CDA1D6

Accessibility & contrast

On white

5.03
#A04DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A04DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04DAF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DAF#FFFFFF#000000##FFFFFF
##A04DAF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#A25B77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04daf;
/* rgb */ color: rgb(160, 77, 175);
/* oklch */ color: oklch(56.2% 0.167 321.3);
Tailwind
colors: {
  custom: {
    50: '#be83c7',
    500: '#a04daf',
    950: '#000000',
  },
}
SCSS
$custom: #a04daf;
$custom-light: #be83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a04daf",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 290.816,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.16705,
    "h": 321.3
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#A04DAF
secondary
#9CC395
accent
#CF596B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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