#A142C0#A142C0

#A142C0 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.0% C 0.200 H 316.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A142C0
RGBrgb(161, 66, 192)
HSLhsl(285, 50%, 51%)
HSVhsv(285, 66%, 75%)
CMYKcmyk(16.1%, 65.6%, 0%, 24.7%)
CIE-LABlab(46.02, 57.93, -48.83)
CIE-LCHlch(46.02, 75.76, 319.87°)
OKLaboklab(55.97% 0.1457 -0.137)
OKLCHoklch(55.97% 0.2 316.8)
XYZxyz(26.1592, 15.2803, 51.4304)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C0 #61C042
analogous
#6242C0 #A142C0 #C042A0
triadic
#A142C0 #C0A142 #42C0A1
tetradic
#A142C0 #C06242 #61C042 #42A0C0
square
#A142C0 #C06242 #61C042 #42A0C0
split-complementary
#A142C0 #A0C042 #42C062
monochromatic
#552266 #7B3194 #A142C0 #B870CF #CF9EDF

Accessibility & contrast

On white

5.18
#A142C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A142C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142C0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C0#FFFFFF#000000##FFFFFF
##A142C01.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C67C4
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#9F597B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142c0;
/* rgb */ color: rgb(161, 66, 192);
/* oklch */ color: oklch(56.0% 0.200 316.8);
Tailwind
colors: {
  custom: {
    50: '#c07dd4',
    500: '#a142c0',
    950: '#000000',
  },
}
SCSS
$custom: #a142c0;
$custom-light: #c07dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c0",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 285.238,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.2,
    "h": 316.8
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#A142C0
secondary
#A1CB93
accent
#DA4E71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A142C0

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

Preview Lab → · Contrast checker → · Palette generator →

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