#A140A2#A140A2

#A140A2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.0% C 0.175 H 327.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A140A2
RGBrgb(161, 64, 162)
HSLhsl(299, 43%, 44%)
HSVhsv(299, 60%, 64%)
CMYKcmyk(0.6%, 60.5%, 0%, 36.5%)
CIE-LABlab(44.02, 53.10, -34.34)
CIE-LCHlch(44.02, 63.23, 327.11°)
OKLaboklab(53.99% 0.1474 -0.0948)
OKLCHoklch(53.99% 0.175 327.3)
XYZxyz(23.0526, 13.8539, 35.6353)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A140A2 #41A240
analogous
#7040A2 #A140A2 #A24072
triadic
#A140A2 #A2A140 #40A2A1
tetradic
#A140A2 #A27040 #41A240 #4072A2
square
#A140A2 #A27040 #41A240 #4072A2
split-complementary
#A140A2 #72A240 #40A270
monochromatic
#4A1D4A #752F76 #A140A2 #BF5FC0 #D18BD1

Accessibility & contrast

On white

5.57
#A140A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A140A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A140A2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A140A2#FFFFFF#000000##FFFFFF
##A140A21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#566C9F
Tritanopia (blue-blind)
#A64C6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a140a2;
/* rgb */ color: rgb(161, 64, 162);
/* oklch */ color: oklch(54.0% 0.175 327.3);
Tailwind
colors: {
  custom: {
    50: '#c07bbe',
    500: '#a140a2',
    950: '#000000',
  },
}
SCSS
$custom: #a140a2;
$custom-light: #c07bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a140a2",
  "rgb": {
    "r": 161,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 299.388,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.17527,
    "h": 327.3
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#A140A2
secondary
#82BC82
accent
#D35556
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A140A2

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

Preview Lab → · Contrast checker → · Palette generator →

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