#A142CC#A142CC

#A142CC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.211 H 313.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A142CC
RGBrgb(161, 66, 204)
HSLhsl(281, 58%, 53%)
HSVhsv(281, 68%, 80%)
CMYKcmyk(21.1%, 67.6%, 0%, 20%)
CIE-LABlab(46.76, 60.37, -54.59)
CIE-LCHlch(46.76, 81.40, 317.88°)
OKLaboklab(56.74% 0.1451 -0.1538)
OKLCHoklch(56.74% 0.211 313.3)
XYZxyz(27.5433, 15.8340, 58.7204)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142CC #6DCC42
analogous
#5C42CC #A142CC #CC42B2
triadic
#A142CC #CCA142 #42CCA1
tetradic
#A142CC #CC5C42 #6DCC42 #42B2CC
square
#A142CC #CC5C42 #6DCC42 #42B2CC
split-complementary
#A142CC #B2CC42 #42CC5C
monochromatic
#5A1F74 #7F2CA4 #A142CC #B972D9 #D1A2E6

Accessibility & contrast

On white

5.04
#A142CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A142CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142CC#FFFFFF#000000##FFFFFF
##A142CC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#9D5E82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a142cc;
/* rgb */ color: rgb(161, 66, 204);
/* oklch */ color: oklch(56.7% 0.211 313.3);
Tailwind
colors: {
  custom: {
    50: '#c17ddc',
    500: '#a142cc',
    950: '#000000',
  },
}
SCSS
$custom: #a142cc;
$custom-light: #c17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#a142cc",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 281.304,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.21147,
    "h": 313.3
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#A142CC
secondary
#AAD397
accent
#E14777
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142CC

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

Preview Lab → · Contrast checker → · Palette generator →

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