#A04CA2#A04CA2

#A04CA2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.4% C 0.156 H 326.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A04CA2
RGBrgb(160, 76, 162)
HSLhsl(299, 36%, 47%)
HSVhsv(299, 53%, 64%)
CMYKcmyk(1.2%, 53.1%, 0%, 36.5%)
CIE-LABlab(45.98, 47.13, -31.28)
CIE-LCHlch(45.98, 56.57, 326.43°)
OKLaboklab(55.39% 0.1303 -0.0861)
OKLCHoklch(55.39% 0.156 326.5)
XYZxyz(23.6028, 15.2524, 35.8762)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CA2 #4EA24C
analogous
#754CA2 #A04CA2 #A24C79
triadic
#A04CA2 #A2A04C #4CA2A0
tetradic
#A04CA2 #A2754C #4EA24C #4C79A2
square
#A04CA2 #A2754C #4EA24C #4C79A2
split-complementary
#A04CA2 #79A24C #4CA275
monochromatic
#4E254F #773878 #A04CA2 #BA70BC #CE99CF

Accessibility & contrast

On white

5.18
#A04CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A04CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CA2#FFFFFF#000000##FFFFFF
##A04CA21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#A45670
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a04ca2;
/* rgb */ color: rgb(160, 76, 162);
/* oklch */ color: oklch(55.4% 0.156 326.5);
Tailwind
colors: {
  custom: {
    50: '#be82be',
    500: '#a04ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ca2;
$custom-light: #be82be;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ca2",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 298.605,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.15614,
    "h": 326.5
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#A04CA2
secondary
#8FBC8E
accent
#CC5C5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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