#A42ABF#A42ABF

#A42ABF is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.228 H 319.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A42ABF
RGBrgb(164, 42, 191)
HSLhsl(289, 64%, 46%)
HSVhsv(289, 78%, 75%)
CMYKcmyk(14.1%, 78%, 0%, 25.1%)
CIE-LABlab(43.23, 67.36, -52.70)
CIE-LCHlch(43.23, 85.52, 321.96°)
OKLaboklab(54.06% 0.1729 -0.148)
OKLCHoklch(54.06% 0.228 319.4)
XYZxyz(25.5406, 13.3113, 50.5041)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42ABF #45BF2A
analogous
#5A2ABF #A42ABF #BF2A8F
triadic
#A42ABF #BFA42A #2ABFA4
tetradic
#A42ABF #BF5A2A #45BF2A #2A8FBF
square
#A42ABF #BF5A2A #45BF2A #2A8FBF
split-complementary
#A42ABF #8FBF2A #2ABF5A
monochromatic
#4E145B #791F8D #A42ABF #BF4ED8 #D180E3

Accessibility & contrast

On white

5.73
#A42ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A42ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42ABF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42ABF#FFFFFF#000000##FFFFFF
##A42ABF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#A44A74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42abf;
/* rgb */ color: rgb(164, 42, 191);
/* oklch */ color: oklch(54.1% 0.228 319.4);
Tailwind
colors: {
  custom: {
    50: '#c372d3',
    500: '#a42abf',
    950: '#000000',
  },
}
SCSS
$custom: #a42abf;
$custom-light: #c372d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42abf",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 289.128,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.22762,
    "h": 319.4
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

primary
#A42ABF
secondary
#88CC79
accent
#E7415F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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