#A040A3#A040A3

#A040A3 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.9% C 0.176 H 326.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A040A3
RGBrgb(160, 64, 163)
HSLhsl(298, 44%, 45%)
HSVhsv(298, 61%, 64%)
CMYKcmyk(1.8%, 60.7%, 0%, 36.1%)
CIE-LABlab(43.92, 53.02, -35.10)
CIE-LCHlch(43.92, 63.58, 326.49°)
OKLaboklab(53.91% 0.1464 -0.097)
OKLCHoklch(53.91% 0.176 326.5)
XYZxyz(22.9410, 13.7861, 36.0959)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A040A3 #43A340
analogous
#6F40A3 #A040A3 #A34075
triadic
#A040A3 #A3A040 #40A3A0
tetradic
#A040A3 #A36F40 #43A340 #4075A3
square
#A040A3 #A36F40 #43A340 #4075A3
split-complementary
#A040A3 #75A340 #40A36F
monochromatic
#4A1D4B #752F77 #A040A3 #BE60C0 #D08CD2

Accessibility & contrast

On white

5.59
#A040A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A040A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A040A3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A040A3#FFFFFF#000000##FFFFFF
##A040A31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#A44D6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a040a3;
/* rgb */ color: rgb(160, 64, 163);
/* oklch */ color: oklch(53.9% 0.176 326.5);
Tailwind
colors: {
  custom: {
    50: '#bf7bbe',
    500: '#a040a3',
    950: '#000000',
  },
}
SCSS
$custom: #a040a3;
$custom-light: #bf7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a040a3",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 298.182,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.17558,
    "h": 326.5
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#A040A3
secondary
#84BD82
accent
#D35458
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A040A3

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

Preview Lab → · Contrast checker → · Palette generator →

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