#A142A4#A142A4

#A142A4 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.3% C 0.174 H 326.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A142A4
RGBrgb(161, 66, 164)
HSLhsl(298, 43%, 45%)
HSVhsv(298, 60%, 64%)
CMYKcmyk(1.8%, 59.8%, 0%, 35.7%)
CIE-LABlab(44.45, 52.55, -34.85)
CIE-LCHlch(44.45, 63.06, 326.45°)
OKLaboklab(54.34% 0.1451 -0.0963)
OKLCHoklch(54.34% 0.174 326.4)
XYZxyz(23.3466, 14.1552, 36.6173)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142A4 #45A442
analogous
#7042A4 #A142A4 #A44276
triadic
#A142A4 #A4A142 #42A4A1
tetradic
#A142A4 #A47042 #45A442 #4276A4
square
#A142A4 #A47042 #45A442 #4276A4
split-complementary
#A142A4 #76A442 #42A470
monochromatic
#4B1F4D #763078 #A142A4 #BD63C0 #D08FD2

Accessibility & contrast

On white

5.48
#A142A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A142A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142A4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142A4#FFFFFF#000000##FFFFFF
##A142A41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#A54F6D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a142a4;
/* rgb */ color: rgb(161, 66, 164);
/* oklch */ color: oklch(54.3% 0.174 326.4);
Tailwind
colors: {
  custom: {
    50: '#bf7cbf',
    500: '#a142a4',
    950: '#000000',
  },
}
SCSS
$custom: #a142a4;
$custom-light: #bf7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a142a4",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 298.163,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.1741,
    "h": 326.4
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#A142A4
secondary
#87BD85
accent
#D25559
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A142A4

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

Preview Lab → · Contrast checker → · Palette generator →

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