#A142BA#A142BA

#A142BA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.194 H 318.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A142BA
RGBrgb(161, 66, 186)
HSLhsl(288, 48%, 49%)
HSVhsv(288, 65%, 73%)
CMYKcmyk(13.4%, 64.5%, 0%, 27.1%)
CIE-LABlab(45.66, 56.73, -45.90)
CIE-LCHlch(45.66, 72.98, 321.02°)
OKLaboklab(55.61% 0.1459 -0.1284)
OKLCHoklch(55.61% 0.194 318.6)
XYZxyz(25.5079, 15.0198, 48.0003)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142BA #5BBA42
analogous
#6542BA #A142BA #BA4297
triadic
#A142BA #BAA142 #42BAA1
tetradic
#A142BA #BA6542 #5BBA42 #4297BA
square
#A142BA #BA6542 #5BBA42 #4297BA
split-complementary
#A142BA #97BA42 #42BA65
monochromatic
#532260 #7A328D #A142BA #B86ECB #CE9BDB

Accessibility & contrast

On white

5.25
#A142BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A142BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142BA#FFFFFF#000000##FFFFFF
##A142BA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#A15778
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a142ba;
/* rgb */ color: rgb(161, 66, 186);
/* oklch */ color: oklch(55.6% 0.194 318.6);
Tailwind
colors: {
  custom: {
    50: '#c07dcf',
    500: '#a142ba',
    950: '#000000',
  },
}
SCSS
$custom: #a142ba;
$custom-light: #c07dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a142ba",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 287.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.19433,
    "h": 318.6
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#A142BA
secondary
#9CC890
accent
#D7516D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A142BA

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

Preview Lab → · Contrast checker → · Palette generator →

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