#A142C5#A142C5

#A142C5 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.205 H 315.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A142C5
RGBrgb(161, 66, 197)
HSLhsl(284, 53%, 52%)
HSVhsv(284, 66%, 77%)
CMYKcmyk(18.3%, 66.5%, 0%, 22.7%)
CIE-LABlab(46.32, 58.94, -51.25)
CIE-LCHlch(46.32, 78.10, 318.99°)
OKLaboklab(56.29% 0.1455 -0.144)
OKLCHoklch(56.29% 0.205 315.3)
XYZxyz(26.7226, 15.5057, 54.3977)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C5 #66C542
analogous
#6042C5 #A142C5 #C542A8
triadic
#A142C5 #C5A142 #42C5A1
tetradic
#A142C5 #C56042 #66C542 #42A8C5
square
#A142C5 #C56042 #66C542 #42A8C5
split-complementary
#A142C5 #A8C542 #42C560
monochromatic
#57216C #7D2F9A #A142C5 #B871D3 #D0A0E2

Accessibility & contrast

On white

5.12
#A142C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A142C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142C5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C5#FFFFFF#000000##FFFFFF
##A142C51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#4070C2
Tritanopia (blue-blind)
#9E5B7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a142c5;
/* rgb */ color: rgb(161, 66, 197);
/* oklch */ color: oklch(56.3% 0.205 315.3);
Tailwind
colors: {
  custom: {
    50: '#c07dd7',
    500: '#a142c5',
    950: '#000000',
  },
}
SCSS
$custom: #a142c5;
$custom-light: #c07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c5",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 283.511,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.20477,
    "h": 315.3
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#A142C5
secondary
#A4CE95
accent
#DC4B73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A142C5

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

Preview Lab → · Contrast checker → · Palette generator →

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