#A142C3#A142C3

#A142C3 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.203 H 315.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A142C3
RGBrgb(161, 66, 195)
HSLhsl(284, 52%, 51%)
HSVhsv(284, 66%, 76%)
CMYKcmyk(17.4%, 66.2%, 0%, 23.5%)
CIE-LABlab(46.20, 58.53, -50.29)
CIE-LCHlch(46.20, 77.17, 319.33°)
OKLaboklab(56.16% 0.1456 -0.1412)
OKLCHoklch(56.16% 0.203 315.9)
XYZxyz(26.4950, 15.4146, 53.1988)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C3 #64C342
analogous
#6042C3 #A142C3 #C342A4
triadic
#A142C3 #C3A142 #42C3A1
tetradic
#A142C3 #C36042 #64C342 #42A4C3
square
#A142C3 #C36042 #64C342 #42A4C3
split-complementary
#A142C3 #A4C342 #42C360
monochromatic
#562169 #7C3098 #A142C3 #B870D2 #CF9FE0

Accessibility & contrast

On white

5.14
#A142C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A142C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142C3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C3#FFFFFF#000000##FFFFFF
##A142C31.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#9F5A7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142c3;
/* rgb */ color: rgb(161, 66, 195);
/* oklch */ color: oklch(56.2% 0.203 315.9);
Tailwind
colors: {
  custom: {
    50: '#c07dd6',
    500: '#a142c3',
    950: '#000000',
  },
}
SCSS
$custom: #a142c3;
$custom-light: #c07dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c3",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 284.186,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.20286,
    "h": 315.9
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A142C3

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

Preview Lab → · Contrast checker → · Palette generator →

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