#A142BD#A142BD

#A142BD is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.197 H 317.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A142BD
RGBrgb(161, 66, 189)
HSLhsl(286, 48%, 50%)
HSVhsv(286, 65%, 74%)
CMYKcmyk(14.8%, 65.1%, 0%, 25.9%)
CIE-LABlab(45.84, 57.33, -47.37)
CIE-LCHlch(45.84, 74.37, 320.43°)
OKLaboklab(55.79% 0.1458 -0.1327)
OKLCHoklch(55.79% 0.197 317.7)
XYZxyz(25.8302, 15.1487, 49.6976)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142BD #5EBD42
analogous
#6342BD #A142BD #BD429C
triadic
#A142BD #BDA142 #42BDA1
tetradic
#A142BD #BD6342 #5EBD42 #429CBD
square
#A142BD #BD6342 #5EBD42 #429CBD
split-complementary
#A142BD #9CBD42 #42BD63
monochromatic
#542262 #7A3290 #A142BD #B86FCD #CE9DDD

Accessibility & contrast

On white

5.21
#A142BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A142BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142BD#FFFFFF#000000##FFFFFF
##A142BD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C1
Deuteranopia (green-blind)
#4670BA
Tritanopia (blue-blind)
#A0587A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142bd;
/* rgb */ color: rgb(161, 66, 189);
/* oklch */ color: oklch(55.8% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#c07dd1',
    500: '#a142bd',
    950: '#000000',
  },
}
SCSS
$custom: #a142bd;
$custom-light: #c07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a142bd",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 286.341,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.19716,
    "h": 317.7
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#A142BD
secondary
#9EC992
accent
#D8506F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A142BD

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

Preview Lab → · Contrast checker → · Palette generator →

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