#A142B7#A142B7

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

Color values

HEX#A142B7
RGBrgb(161, 66, 183)
HSLhsl(289, 47%, 49%)
HSVhsv(289, 64%, 72%)
CMYKcmyk(12%, 63.9%, 0%, 28.2%)
CIE-LABlab(45.49, 56.14, -44.42)
CIE-LCHlch(45.49, 71.59, 321.65°)
OKLaboklab(55.43% 0.1459 -0.1241)
OKLCHoklch(55.43% 0.192 319.6)
XYZxyz(25.1923, 14.8935, 46.3383)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142B7 #58B742
analogous
#6742B7 #A142B7 #B74293
triadic
#A142B7 #B7A142 #42B7A1
tetradic
#A142B7 #B76742 #58B742 #4293B7
square
#A142B7 #B76742 #58B742 #4293B7
split-complementary
#A142B7 #93B742 #42B767
monochromatic
#52225D #79328A #A142B7 #B86CCA #CE99DA

Accessibility & contrast

On white

5.28
#A142B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A142B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142B7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142B7#FFFFFF#000000##FFFFFF
##A142B71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#4B6FB4
Tritanopia (blue-blind)
#A15677
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a142b7;
/* rgb */ color: rgb(161, 66, 183);
/* oklch */ color: oklch(55.4% 0.192 319.6);
Tailwind
colors: {
  custom: {
    50: '#c07dcd',
    500: '#a142b7',
    950: '#000000',
  },
}
SCSS
$custom: #a142b7;
$custom-light: #c07dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#a142b7",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 288.718,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.19152,
    "h": 319.6
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#A142B7
secondary
#99C68F
accent
#D7516A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142B7

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

Preview Lab → · Contrast checker → · Palette generator →

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