#A142BF#A142BF

#A142BF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.199 H 317.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A142BF
RGBrgb(161, 66, 191)
HSLhsl(286, 49%, 50%)
HSVhsv(286, 65%, 75%)
CMYKcmyk(15.7%, 65.4%, 0%, 25.1%)
CIE-LABlab(45.96, 57.73, -48.35)
CIE-LCHlch(45.96, 75.30, 320.05°)
OKLaboklab(55.91% 0.1458 -0.1355)
OKLCHoklch(55.91% 0.199 317.1)
XYZxyz(26.0488, 15.2361, 50.8488)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142BF #60BF42
analogous
#6242BF #A142BF #BF429E
triadic
#A142BF #BFA142 #42BFA1
tetradic
#A142BF #BF6242 #60BF42 #429EBF
square
#A142BF #BF6242 #60BF42 #429EBF
split-complementary
#A142BF #9EBF42 #42BF62
monochromatic
#552265 #7B3292 #A142BF #B870CE #CE9DDE

Accessibility & contrast

On white

5.19
#A142BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A142BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142BF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142BF#FFFFFF#000000##FFFFFF
##A142BF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#A0597B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a142bf;
/* rgb */ color: rgb(161, 66, 191);
/* oklch */ color: oklch(55.9% 0.199 317.1);
Tailwind
colors: {
  custom: {
    50: '#c07dd3',
    500: '#a142bf',
    950: '#000000',
  },
}
SCSS
$custom: #a142bf;
$custom-light: #c07dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a142bf",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 285.6,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.19905,
    "h": 317.1
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#A142BF
secondary
#A0CA93
accent
#D94F70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A142BF

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

Preview Lab → · Contrast checker → · Palette generator →

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