#A42AB3#A42AB3

#A42AB3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 323.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A42AB3
RGBrgb(164, 42, 179)
HSLhsl(293, 62%, 43%)
HSVhsv(293, 77%, 70%)
CMYKcmyk(8.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(42.47, 65.21, -46.87)
CIE-LCHlch(42.47, 80.31, 324.29°)
OKLaboklab(53.28% 0.1742 -0.131)
OKLCHoklch(53.28% 0.218 323.1)
XYZxyz(24.2737, 12.8046, 43.8321)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AB3 #39B32A
analogous
#602AB3 #A42AB3 #B32A7D
triadic
#A42AB3 #B3A42A #2AB3A4
tetradic
#A42AB3 #B3602A #39B32A #2A7DB3
square
#A42AB3 #B3602A #39B32A #2A7DB3
split-complementary
#A42AB3 #7DB32A #2AB360
monochromatic
#491350 #771E81 #A42AB3 #C446D4 #D478DF

Accessibility & contrast

On white

5.90
#A42AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A42AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AB3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AB3#FFFFFF#000000##FFFFFF
##A42AB31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#A6456E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42ab3;
/* rgb */ color: rgb(164, 42, 179);
/* oklch */ color: oklch(53.3% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#c372ca',
    500: '#a42ab3',
    950: '#000000',
  },
}
SCSS
$custom: #a42ab3;
$custom-light: #c372ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ab3",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 293.431,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.2179,
    "h": 323.1
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#A42AB3
secondary
#7BC772
accent
#E54355
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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