#A142B8#A142B8

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

Color values

HEX#A142B8
RGBrgb(161, 66, 184)
HSLhsl(288, 47%, 49%)
HSVhsv(288, 64%, 72%)
CMYKcmyk(12.5%, 64.1%, 0%, 27.8%)
CIE-LABlab(45.55, 56.34, -44.92)
CIE-LCHlch(45.55, 72.05, 321.44°)
OKLaboklab(55.48% 0.1459 -0.1255)
OKLCHoklch(55.48% 0.192 319.3)
XYZxyz(25.2968, 14.9353, 46.8884)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142B8 #59B842
analogous
#6642B8 #A142B8 #B84294
triadic
#A142B8 #B8A142 #42B8A1
tetradic
#A142B8 #B86642 #59B842 #4294B8
square
#A142B8 #B86642 #59B842 #4294B8
split-complementary
#A142B8 #94B842 #42B866
monochromatic
#52225E #7A328B #A142B8 #B86DCB #CE9ADB

Accessibility & contrast

On white

5.27
#A142B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A142B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142B8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142B8#FFFFFF#000000##FFFFFF
##A142B81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BC
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#A15677
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a142b8;
/* rgb */ color: rgb(161, 66, 184);
/* oklch */ color: oklch(55.5% 0.192 319.3);
Tailwind
colors: {
  custom: {
    50: '#c07dce',
    500: '#a142b8',
    950: '#000000',
  },
}
SCSS
$custom: #a142b8;
$custom-light: #c07dce;
$custom-dark: #000000;
JSON
{
  "hex": "#a142b8",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 288.305,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.19245,
    "h": 319.3
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#A142B8
secondary
#9AC78F
accent
#D7516B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142B8

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

Preview Lab → · Contrast checker → · Palette generator →

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