#A142C7#A142C7

#A142C7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.207 H 314.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A142C7
RGBrgb(161, 66, 199)
HSLhsl(283, 54%, 52%)
HSVhsv(283, 67%, 78%)
CMYKcmyk(19.1%, 66.8%, 0%, 22%)
CIE-LABlab(46.44, 59.35, -52.21)
CIE-LCHlch(46.44, 79.04, 318.66°)
OKLaboklab(56.42% 0.1454 -0.1469)
OKLCHoklch(56.42% 0.207 314.7)
XYZxyz(26.9533, 15.5979, 55.6126)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142C7 #68C742
analogous
#5F42C7 #A142C7 #C742AB
triadic
#A142C7 #C7A142 #42C7A1
tetradic
#A142C7 #C75F42 #68C742 #42ABC7
square
#A142C7 #C75F42 #68C742 #42ABC7
split-complementary
#A142C7 #ABC742 #42C75F
monochromatic
#58216E #7E2F9D #A142C7 #B871D5 #D0A0E3

Accessibility & contrast

On white

5.10
#A142C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A142C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142C7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142C7#FFFFFF#000000##FFFFFF
##A142C71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#3E70C4
Tritanopia (blue-blind)
#9E5C7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a142c7;
/* rgb */ color: rgb(161, 66, 199);
/* oklch */ color: oklch(56.4% 0.207 314.7);
Tailwind
colors: {
  custom: {
    50: '#c07dd9',
    500: '#a142c7',
    950: '#000000',
  },
}
SCSS
$custom: #a142c7;
$custom-light: #c07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a142c7",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 282.857,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.20668,
    "h": 314.7
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#A142C7
secondary
#A6D095
accent
#DE4A74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A142C7

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

Preview Lab → · Contrast checker → · Palette generator →

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