#A04AB2#A04AB2

#A04AB2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.175 H 320.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A04AB2
RGBrgb(160, 74, 178)
HSLhsl(290, 41%, 49%)
HSVhsv(290, 58%, 70%)
CMYKcmyk(10.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(46.43, 51.19, -40.01)
CIE-LCHlch(46.43, 64.97, 321.99°)
OKLaboklab(55.99% 0.1346 -0.1113)
OKLCHoklch(55.99% 0.175 320.4)
XYZxyz(24.9809, 15.5866, 43.8035)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04AB2 #5CB24A
analogous
#6C4AB2 #A04AB2 #B24A90
triadic
#A04AB2 #B2A04A #4AB2A0
tetradic
#A04AB2 #B26C4A #5CB24A #4A90B2
square
#A04AB2 #B26C4A #5CB24A #4A90B2
split-complementary
#A04AB2 #90B24A #4AB26C
monochromatic
#52265C #793887 #A04AB2 #B774C5 #CD9FD7

Accessibility & contrast

On white

5.10
#A04AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A04AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04AB2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04AB2#FFFFFF#000000##FFFFFF
##A04AB21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#A15A77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04ab2;
/* rgb */ color: rgb(160, 74, 178);
/* oklch */ color: oklch(56.0% 0.175 320.4);
Tailwind
colors: {
  custom: {
    50: '#bf81c9',
    500: '#a04ab2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ab2;
$custom-light: #bf81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ab2",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 289.615,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.17463,
    "h": 320.4
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#A04AB2
secondary
#9CC494
accent
#D1576C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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