#A142BC#A142BC

#A142BC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.196 H 318.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A142BC
RGBrgb(161, 66, 188)
HSLhsl(287, 48%, 50%)
HSVhsv(287, 65%, 74%)
CMYKcmyk(14.4%, 64.9%, 0%, 26.3%)
CIE-LABlab(45.78, 57.13, -46.88)
CIE-LCHlch(45.78, 73.90, 320.63°)
OKLaboklab(55.73% 0.1458 -0.1313)
OKLCHoklch(55.73% 0.196 318)
XYZxyz(25.7220, 15.1054, 49.1279)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142BC #5DBC42
analogous
#6442BC #A142BC #BC429A
triadic
#A142BC #BCA142 #42BCA1
tetradic
#A142BC #BC6442 #5DBC42 #429ABC
square
#A142BC #BC6442 #5DBC42 #429ABC
split-complementary
#A142BC #9ABC42 #42BC64
monochromatic
#532261 #7A328F #A142BC #B86FCC #CE9CDC

Accessibility & contrast

On white

5.22
#A142BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A142BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142BC#FFFFFF#000000##FFFFFF
##A142BC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#A05879
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a142bc;
/* rgb */ color: rgb(161, 66, 188);
/* oklch */ color: oklch(55.7% 0.196 318.0);
Tailwind
colors: {
  custom: {
    50: '#c07dd1',
    500: '#a142bc',
    950: '#000000',
  },
}
SCSS
$custom: #a142bc;
$custom-light: #c07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a142bc",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 286.721,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.19622,
    "h": 318
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#A142BC
secondary
#9EC991
accent
#D8506E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A142BC

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

Preview Lab → · Contrast checker → · Palette generator →

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