#A142B6#A142B6

#A142B6 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.191 H 319.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A142B6
RGBrgb(161, 66, 182)
HSLhsl(289, 47%, 49%)
HSVhsv(289, 64%, 71%)
CMYKcmyk(11.5%, 63.7%, 0%, 28.6%)
CIE-LABlab(45.43, 55.95, -43.93)
CIE-LCHlch(45.43, 71.13, 321.86°)
OKLaboklab(55.36% 0.1459 -0.1226)
OKLCHoklch(55.36% 0.191 319.9)
XYZxyz(25.0886, 14.8521, 45.7921)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142B6 #57B642
analogous
#6742B6 #A142B6 #B64291
triadic
#A142B6 #B6A142 #42B6A1
tetradic
#A142B6 #B66742 #57B642 #4291B6
square
#A142B6 #B66742 #57B642 #4291B6
split-complementary
#A142B6 #91B642 #42B667
monochromatic
#52215C #793289 #A142B6 #B96CCA #CE99DA

Accessibility & contrast

On white

5.29
#A142B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A142B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142B6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142B6#FFFFFF#000000##FFFFFF
##A142B61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#A25576
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a142b6;
/* rgb */ color: rgb(161, 66, 182);
/* oklch */ color: oklch(55.4% 0.191 319.9);
Tailwind
colors: {
  custom: {
    50: '#c07dcc',
    500: '#a142b6',
    950: '#000000',
  },
}
SCSS
$custom: #a142b6;
$custom-light: #c07dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a142b6",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 289.138,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.19057,
    "h": 319.9
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#A142B6
secondary
#98C68E
accent
#D65169
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142B6

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

Preview Lab → · Contrast checker → · Palette generator →

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