#A142CE#A142CE

#A142CE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.213 H 312.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A142CE
RGBrgb(161, 66, 206)
HSLhsl(281, 59%, 53%)
HSVhsv(281, 68%, 81%)
CMYKcmyk(21.8%, 68%, 0%, 19.2%)
CIE-LABlab(46.88, 60.79, -55.54)
CIE-LCHlch(46.88, 82.34, 317.58°)
OKLaboklab(56.88% 0.1449 -0.1566)
OKLCHoklch(56.88% 0.213 312.8)
XYZxyz(27.7848, 15.9305, 59.9918)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142CE #6FCE42
analogous
#5B42CE #A142CE #CE42B5
triadic
#A142CE #CEA142 #42CEA1
tetradic
#A142CE #CE5B42 #6FCE42 #42B5CE
square
#A142CE #CE5B42 #6FCE42 #42B5CE
split-complementary
#A142CE #B5CE42 #42CE5B
monochromatic
#5B1F77 #802BA7 #A142CE #B973DB #D1A3E7

Accessibility & contrast

On white

5.02
#A142CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A142CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142CE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142CE#FFFFFF#000000##FFFFFF
##A142CE1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#9C5F83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a142ce;
/* rgb */ color: rgb(161, 66, 206);
/* oklch */ color: oklch(56.9% 0.213 312.8);
Tailwind
colors: {
  custom: {
    50: '#c17ede',
    500: '#a142ce',
    950: '#000000',
  },
}
SCSS
$custom: #a142ce;
$custom-light: #c17ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a142ce",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 280.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.21339,
    "h": 312.8
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#A142CE
secondary
#ABD498
accent
#E24678
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142CE

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

Preview Lab → · Contrast checker → · Palette generator →

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