#A04CAB#A04CAB

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

Color values

HEX#A04CAB
RGBrgb(160, 76, 171)
HSLhsl(293, 38%, 48%)
HSVhsv(293, 56%, 67%)
CMYKcmyk(6.4%, 55.6%, 0%, 32.9%)
CIE-LABlab(46.42, 48.84, -35.90)
CIE-LCHlch(46.42, 60.62, 323.68°)
OKLaboklab(55.87% 0.1313 -0.0994)
OKLCHoklch(55.87% 0.165 322.9)
XYZxyz(24.4316, 15.5839, 40.2413)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CAB #57AB4C
analogous
#704CAB #A04CAB #AB4C86
triadic
#A04CAB #ABA04C #4CABA0
tetradic
#A04CAB #AB704C #57AB4C #4C86AB
square
#A04CAB #AB704C #57AB4C #4C86AB
split-complementary
#A04CAB #86AB4C #4CAB70
monochromatic
#512656 #783981 #A04CAB #B873C1 #CD9ED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A04CAB#FFFFFF#000000##FFFFFF
##A04CAB1.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)
#3D68AE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#A25974
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04cab;
/* rgb */ color: rgb(160, 76, 171);
/* oklch */ color: oklch(55.9% 0.165 322.9);
Tailwind
colors: {
  custom: {
    50: '#be82c4',
    500: '#a04cab',
    950: '#000000',
  },
}
SCSS
$custom: #a04cab;
$custom-light: #be82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cab",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 293.053,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.16472,
    "h": 322.9
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#A04CAB
secondary
#98C092
accent
#CE5967
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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