#A142CD#A142CD

#A142CD is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.212 H 313.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A142CD
RGBrgb(161, 66, 205)
HSLhsl(281, 58%, 53%)
HSVhsv(281, 68%, 80%)
CMYKcmyk(21.5%, 67.8%, 0%, 19.6%)
CIE-LABlab(46.82, 60.58, -55.07)
CIE-LCHlch(46.82, 81.87, 317.73°)
OKLaboklab(56.81% 0.145 -0.1552)
OKLCHoklch(56.81% 0.212 313)
XYZxyz(27.6637, 15.8821, 59.3541)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142CD #6ECD42
analogous
#5B42CD #A142CD #CD42B4
triadic
#A142CD #CDA142 #42CDA1
tetradic
#A142CD #CD5B42 #6ECD42 #42B4CD
square
#A142CD #CD5B42 #6ECD42 #42B4CD
split-complementary
#A142CD #B4CD42 #42CD5B
monochromatic
#5A1F76 #7F2CA6 #A142CD #B972DA #D1A3E7

Accessibility & contrast

On white

5.03
#A142CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A142CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142CD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142CD#FFFFFF#000000##FFFFFF
##A142CD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#9C5E82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a142cd;
/* rgb */ color: rgb(161, 66, 205);
/* oklch */ color: oklch(56.8% 0.212 313.0);
Tailwind
colors: {
  custom: {
    50: '#c17ddd',
    500: '#a142cd',
    950: '#000000',
  },
}
SCSS
$custom: #a142cd;
$custom-light: #c17ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#a142cd",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 281.007,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.21243,
    "h": 313
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A142CD

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

Preview Lab → · Contrast checker → · Palette generator →

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