#A040AE#A040AE

#A040AE is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.5% C 0.185 H 322.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A040AE
RGBrgb(160, 64, 174)
HSLhsl(292, 46%, 47%)
HSVhsv(292, 63%, 68%)
CMYKcmyk(8%, 63.2%, 0%, 31.8%)
CIE-LABlab(44.52, 55.06, -40.69)
CIE-LCHlch(44.52, 68.46, 323.53°)
OKLaboklab(54.53% 0.1469 -0.1132)
OKLCHoklch(54.53% 0.185 322.4)
XYZxyz(23.9698, 14.1976, 41.5140)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A040AE #4EAE40
analogous
#6940AE #A040AE #AE4085
triadic
#A040AE #AEA040 #40AEA0
tetradic
#A040AE #AE6940 #4EAE40 #4085AE
square
#A040AE #AE6940 #4EAE40 #4085AE
split-complementary
#A040AE #85AE40 #40AE69
monochromatic
#4E1F55 #773081 #A040AE #BA65C6 #CE92D7

Accessibility & contrast

On white

5.47
#A040AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A040AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A040AE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A040AE#FFFFFF#000000##FFFFFF
##A040AE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#A25171
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a040ae;
/* rgb */ color: rgb(160, 64, 174);
/* oklch */ color: oklch(54.5% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#bf7bc6',
    500: '#a040ae',
    950: '#000000',
  },
}
SCSS
$custom: #a040ae;
$custom-light: #bf7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#a040ae",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 292.364,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.18549,
    "h": 322.4
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#A040AE
secondary
#8FC288
accent
#D65263
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A040AE

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

Preview Lab → · Contrast checker → · Palette generator →

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