#A142B1#A142B1

#A142B1 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.1% C 0.186 H 321.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A142B1
RGBrgb(161, 66, 177)
HSLhsl(291, 46%, 48%)
HSVhsv(291, 63%, 69%)
CMYKcmyk(9%, 62.7%, 0%, 30.6%)
CIE-LABlab(45.15, 54.98, -41.44)
CIE-LCHlch(45.15, 68.85, 323.00°)
OKLaboklab(55.07% 0.1458 -0.1154)
OKLCHoklch(55.07% 0.186 321.6)
XYZxyz(24.5811, 14.6491, 43.1192)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142B1 #52B142
analogous
#6942B1 #A142B1 #B1428A
triadic
#A142B1 #B1A142 #42B1A1
tetradic
#A142B1 #B16942 #52B142 #428AB1
square
#A142B1 #B16942 #52B142 #428AB1
split-complementary
#A142B1 #8AB142 #42B169
monochromatic
#502158 #783184 #A142B1 #BA69C7 #CE96D8

Accessibility & contrast

On white

5.34
#A142B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A142B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142B1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142B1#FFFFFF#000000##FFFFFF
##A142B11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#A35473
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a142b1;
/* rgb */ color: rgb(161, 66, 177);
/* oklch */ color: oklch(55.1% 0.186 321.6);
Tailwind
colors: {
  custom: {
    50: '#c07dc9',
    500: '#a142b1',
    950: '#000000',
  },
}
SCSS
$custom: #a142b1;
$custom-light: #c07dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a142b1",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 291.351,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.18593,
    "h": 321.6
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#A142B1
secondary
#93C38B
accent
#D55265
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A142B1

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

Preview Lab → · Contrast checker → · Palette generator →

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