#A04ABA#A04ABA

#A04ABA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.183 H 317.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A04ABA
RGBrgb(160, 74, 186)
HSLhsl(286, 45%, 51%)
HSVhsv(286, 60%, 73%)
CMYKcmyk(14%, 60.2%, 0%, 27.1%)
CIE-LABlab(46.87, 52.80, -43.99)
CIE-LCHlch(46.87, 68.72, 320.20°)
OKLaboklab(56.45% 0.1349 -0.1229)
OKLCHoklch(56.45% 0.183 317.7)
XYZxyz(25.8077, 15.9173, 48.1578)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04ABA #64BA4A
analogous
#684ABA #A04ABA #BA4A9C
triadic
#A04ABA #BAA04A #4ABAA0
tetradic
#A04ABA #BA684A #64BA4A #4A9CBA
square
#A04ABA #BA684A #64BA4A #4A9CBA
split-complementary
#A04ABA #9CBA4A #4ABA68
monochromatic
#552664 #7B3790 #A04ABA #B776CB #CFA3DC

Accessibility & contrast

On white

5.02
#A04ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A04ABA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04ABA#FFFFFF#000000##FFFFFF
##A04ABA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABD
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#9F5D7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04aba;
/* rgb */ color: rgb(160, 74, 186);
/* oklch */ color: oklch(56.5% 0.183 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf81cf',
    500: '#a04aba',
    950: '#000000',
  },
}
SCSS
$custom: #a04aba;
$custom-light: #bf81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a04aba",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 286.071,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.18251,
    "h": 317.7
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#A04ABA
secondary
#A3C997
accent
#D55371
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A04ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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