#A142C8#A142C8

#A142C8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.208 H 314.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A142C8
RGBrgb(161, 66, 200)
HSLhsl(283, 55%, 52%)
HSVhsv(283, 67%, 78%)
CMYKcmyk(19.5%, 67%, 0%, 21.6%)
CIE-LABlab(46.50, 59.55, -52.69)
CIE-LCHlch(46.50, 79.51, 318.50°)
OKLaboklab(56.48% 0.1454 -0.1483)
OKLCHoklch(56.48% 0.208 314.4)
XYZxyz(27.0698, 15.6445, 56.2261)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C8 #69C842
analogous
#5E42C8 #A142C8 #C842AC
triadic
#A142C8 #C8A142 #42C8A1
tetradic
#A142C8 #C85E42 #69C842 #42ACC8
square
#A142C8 #C85E42 #69C842 #42ACC8
split-complementary
#A142C8 #ACC842 #42C85E
monochromatic
#58206F #7E2E9F #A142C8 #B971D6 #D0A1E4

Accessibility & contrast

On white

5.09
#A142C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A142C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C8#FFFFFF#000000##FFFFFF
##A142C81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#9E5C80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a142c8;
/* rgb */ color: rgb(161, 66, 200);
/* oklch */ color: oklch(56.5% 0.208 314.4);
Tailwind
colors: {
  custom: {
    50: '#c17dd9',
    500: '#a142c8',
    950: '#000000',
  },
}
SCSS
$custom: #a142c8;
$custom-light: #c17dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c8",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 282.537,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.20763,
    "h": 314.4
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#A142C8
secondary
#A7D096
accent
#DE4A75
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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