#A142AC#A142AC

#A142AC is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.181 H 323.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A142AC
RGBrgb(161, 66, 172)
HSLhsl(294, 45%, 47%)
HSVhsv(294, 62%, 67%)
CMYKcmyk(6.4%, 61.6%, 0%, 32.5%)
CIE-LABlab(44.88, 54.03, -38.93)
CIE-LCHlch(44.88, 66.60, 324.23°)
OKLaboklab(54.78% 0.1456 -0.1081)
OKLCHoklch(54.78% 0.181 323.4)
XYZxyz(24.0919, 14.4534, 40.5425)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142AC #4DAC42
analogous
#6C42AC #A142AC #AC4282
triadic
#A142AC #ACA142 #42ACA1
tetradic
#A142AC #AC6C42 #4DAC42 #4282AC
square
#A142AC #AC6C42 #4DAC42 #4282AC
split-complementary
#A142AC #82AC42 #42AC6C
monochromatic
#4E2054 #783180 #A142AC #BB67C5 #CF93D6

Accessibility & contrast

On white

5.40
#A142AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A142AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142AC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142AC#FFFFFF#000000##FFFFFF
##A142AC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#A45271
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a142ac;
/* rgb */ color: rgb(161, 66, 172);
/* oklch */ color: oklch(54.8% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#c07cc5',
    500: '#a142ac',
    950: '#000000',
  },
}
SCSS
$custom: #a142ac;
$custom-light: #c07cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a142ac",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 293.774,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.18132,
    "h": 323.4
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#A142AC
secondary
#8FC189
accent
#D45461
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142AC

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

Preview Lab → · Contrast checker → · Palette generator →

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