#A142C1#A142C1

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

Color values

HEX#A142C1
RGBrgb(161, 66, 193)
HSLhsl(285, 51%, 51%)
HSVhsv(285, 66%, 76%)
CMYKcmyk(16.6%, 65.8%, 0%, 24.3%)
CIE-LABlab(46.08, 58.13, -49.32)
CIE-LCHlch(46.08, 76.23, 319.69°)
OKLaboklab(56.04% 0.1457 -0.1384)
OKLCHoklch(56.04% 0.201 316.5)
XYZxyz(26.2703, 15.3248, 52.0159)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C1 #62C142
analogous
#6142C1 #A142C1 #C142A1
triadic
#A142C1 #C1A142 #42C1A1
tetradic
#A142C1 #C16142 #62C142 #42A1C1
square
#A142C1 #C16142 #62C142 #42A1C1
split-complementary
#A142C1 #A1C142 #42C161
monochromatic
#552267 #7C3195 #A142C1 #B870D0 #CF9EDF

Accessibility & contrast

On white

5.17
#A142C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A142C1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C1#FFFFFF#000000##FFFFFF
##A142C11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0867C5
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#9F5A7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142c1;
/* rgb */ color: rgb(161, 66, 193);
/* oklch */ color: oklch(56.0% 0.201 316.5);
Tailwind
colors: {
  custom: {
    50: '#c07dd4',
    500: '#a142c1',
    950: '#000000',
  },
}
SCSS
$custom: #a142c1;
$custom-light: #c07dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c1",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 284.882,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56038,
    "c": 0.20096,
    "h": 316.5
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A142C1

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

Preview Lab → · Contrast checker → · Palette generator →

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