#A142BB#A142BB

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

Color values

HEX#A142BB
RGBrgb(161, 66, 187)
HSLhsl(287, 48%, 50%)
HSVhsv(287, 65%, 73%)
CMYKcmyk(13.9%, 64.7%, 0%, 26.7%)
CIE-LABlab(45.72, 56.93, -46.39)
CIE-LCHlch(45.72, 73.44, 320.82°)
OKLaboklab(55.67% 0.1459 -0.1298)
OKLCHoklch(55.67% 0.195 318.3)
XYZxyz(25.6146, 15.0624, 48.5622)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142BB #5CBB42
analogous
#6442BB #A142BB #BB4299
triadic
#A142BB #BBA142 #42BBA1
tetradic
#A142BB #BB6442 #5CBB42 #4299BB
square
#A142BB #BB6442 #5CBB42 #4299BB
split-complementary
#A142BB #99BB42 #42BB64
monochromatic
#532261 #7A328E #A142BB #B86ECC #CE9CDC

Accessibility & contrast

On white

5.23
#A142BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A142BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142BB#FFFFFF#000000##FFFFFF
##A142BB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#A15779
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a142bb;
/* rgb */ color: rgb(161, 66, 187);
/* oklch */ color: oklch(55.7% 0.195 318.3);
Tailwind
colors: {
  custom: {
    50: '#c07dd0',
    500: '#a142bb',
    950: '#000000',
  },
}
SCSS
$custom: #a142bb;
$custom-light: #c07dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a142bb",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 287.107,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.19528,
    "h": 318.3
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#A142BB
secondary
#9DC891
accent
#D7506D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A142BB

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

Preview Lab → · Contrast checker → · Palette generator →

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