#A142C2#A142C2

#A142C2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.1% C 0.202 H 316.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A142C2
RGBrgb(161, 66, 194)
HSLhsl(285, 51%, 51%)
HSVhsv(285, 66%, 76%)
CMYKcmyk(17%, 66%, 0%, 23.9%)
CIE-LABlab(46.14, 58.33, -49.80)
CIE-LCHlch(46.14, 76.70, 319.51°)
OKLaboklab(56.1% 0.1457 -0.1398)
OKLCHoklch(56.1% 0.202 316.2)
XYZxyz(26.3823, 15.3695, 52.6054)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C2 #63C242
analogous
#6142C2 #A142C2 #C242A3
triadic
#A142C2 #C2A142 #42C2A1
tetradic
#A142C2 #C26142 #63C242 #42A3C2
square
#A142C2 #C26142 #63C242 #42A3C2
split-complementary
#A142C2 #A3C242 #42C261
monochromatic
#562268 #7C3196 #A142C2 #B870D1 #CF9FE0

Accessibility & contrast

On white

5.15
#A142C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A142C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142C2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C2#FFFFFF#000000##FFFFFF
##A142C21.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0468C6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#9F5A7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142c2;
/* rgb */ color: rgb(161, 66, 194);
/* oklch */ color: oklch(56.1% 0.202 316.2);
Tailwind
colors: {
  custom: {
    50: '#c07dd5',
    500: '#a142c2',
    950: '#000000',
  },
}
SCSS
$custom: #a142c2;
$custom-light: #c07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c2",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 284.531,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.20191,
    "h": 316.2
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#A142C2
secondary
#A2CC94
accent
#DB4D72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A142C2

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

Preview Lab → · Contrast checker → · Palette generator →

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