#A42AB1#A42AB1

#A42AB1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 323.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A42AB1
RGBrgb(164, 42, 177)
HSLhsl(294, 62%, 43%)
HSVhsv(294, 76%, 69%)
CMYKcmyk(7.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(42.34, 64.86, -45.88)
CIE-LCHlch(42.34, 79.45, 324.72°)
OKLaboklab(53.15% 0.1743 -0.1281)
OKLCHoklch(53.15% 0.216 323.7)
XYZxyz(24.0729, 12.7243, 42.7745)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AB1 #37B12A
analogous
#602AB1 #A42AB1 #B12A7B
triadic
#A42AB1 #B1A42A #2AB1A4
tetradic
#A42AB1 #B1602A #37B12A #2A7BB1
square
#A42AB1 #B1602A #37B12A #2A7BB1
split-complementary
#A42AB1 #7BB12A #2AB160
monochromatic
#48134E #761E80 #A42AB1 #C545D3 #D577DF

Accessibility & contrast

On white

5.92
#A42AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A42AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AB1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AB1#FFFFFF#000000##FFFFFF
##A42AB11.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#A7446C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42ab1;
/* rgb */ color: rgb(164, 42, 177);
/* oklch */ color: oklch(53.1% 0.216 323.7);
Tailwind
colors: {
  custom: {
    50: '#c372c9',
    500: '#a42ab1',
    950: '#000000',
  },
}
SCSS
$custom: #a42ab1;
$custom-light: #c372c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ab1",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 294.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.2163,
    "h": 323.7
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#A42AB1
secondary
#79C670
accent
#E54353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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