#A142AF#A142AF

#A142AF is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.0% C 0.184 H 322.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A142AF
RGBrgb(161, 66, 175)
HSLhsl(292, 45%, 47%)
HSVhsv(292, 62%, 69%)
CMYKcmyk(8%, 62.3%, 0%, 31.4%)
CIE-LABlab(45.04, 54.60, -40.44)
CIE-LCHlch(45.04, 67.94, 323.48°)
OKLaboklab(54.96% 0.1457 -0.1125)
OKLCHoklch(54.96% 0.184 322.3)
XYZxyz(24.3832, 14.5699, 42.0771)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142AF #50AF42
analogous
#6B42AF #A142AF #AF4286
triadic
#A142AF #AFA142 #42AFA1
tetradic
#A142AF #AF6B42 #50AF42 #4286AF
square
#A142AF #AF6B42 #50AF42 #4286AF
split-complementary
#A142AF #86AF42 #42AF6B
monochromatic
#4F2056 #783183 #A142AF #BA68C6 #CE95D7

Accessibility & contrast

On white

5.37
#A142AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A142AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142AF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142AF#FFFFFF#000000##FFFFFF
##A142AF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#A35372
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a142af;
/* rgb */ color: rgb(161, 66, 175);
/* oklch */ color: oklch(55.0% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#c07dc7',
    500: '#a142af',
    950: '#000000',
  },
}
SCSS
$custom: #a142af;
$custom-light: #c07dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a142af",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 292.294,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54955,
    "c": 0.18408,
    "h": 322.3
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#A142AF
secondary
#92C28A
accent
#D55364
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142AF

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

Preview Lab → · Contrast checker → · Palette generator →

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