#A142B2#A142B2

#A142B2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.187 H 321.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A142B2
RGBrgb(161, 66, 178)
HSLhsl(291, 46%, 48%)
HSVhsv(291, 63%, 70%)
CMYKcmyk(9.6%, 62.9%, 0%, 30.2%)
CIE-LABlab(45.21, 55.17, -41.94)
CIE-LCHlch(45.21, 69.30, 322.76°)
OKLaboklab(55.13% 0.1458 -0.1168)
OKLCHoklch(55.13% 0.187 321.3)
XYZxyz(24.6811, 14.6891, 43.6461)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142B2 #53B242
analogous
#6942B2 #A142B2 #B2428B
triadic
#A142B2 #B2A142 #42B2A1
tetradic
#A142B2 #B26942 #53B242 #428BB2
square
#A142B2 #B26942 #53B242 #428BB2
split-complementary
#A142B2 #8BB242 #42B269
monochromatic
#502159 #793185 #A142B2 #B96AC8 #CE96D8

Accessibility & contrast

On white

5.33
#A142B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A142B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142B2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142B2#FFFFFF#000000##FFFFFF
##A142B21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#A25474
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a142b2;
/* rgb */ color: rgb(161, 66, 178);
/* oklch */ color: oklch(55.1% 0.187 321.3);
Tailwind
colors: {
  custom: {
    50: '#c07dc9',
    500: '#a142b2',
    950: '#000000',
  },
}
SCSS
$custom: #a142b2;
$custom-light: #c07dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a142b2",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 290.893,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.18685,
    "h": 321.3
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#A142B2
secondary
#94C48C
accent
#D65266
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142B2

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

Preview Lab → · Contrast checker → · Palette generator →

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