#A42AB0#A42AB0

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

Color values

HEX#A42AB0
RGBrgb(164, 42, 176)
HSLhsl(295, 61%, 43%)
HSVhsv(295, 76%, 69%)
CMYKcmyk(6.8%, 76.1%, 0%, 31%)
CIE-LABlab(42.28, 64.69, -45.39)
CIE-LCHlch(42.28, 79.02, 324.94°)
OKLaboklab(53.09% 0.1744 -0.1267)
OKLCHoklch(53.09% 0.216 324)
XYZxyz(23.9736, 12.6845, 42.2515)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AB0 #36B02A
analogous
#612AB0 #A42AB0 #B02A79
triadic
#A42AB0 #B0A42A #2AB0A4
tetradic
#A42AB0 #B0612A #36B02A #2A79B0
square
#A42AB0 #B0612A #36B02A #2A79B0
split-complementary
#A42AB0 #79B02A #2AB061
monochromatic
#48124D #761E7F #A42AB0 #C645D3 #D576DE

Accessibility & contrast

On white

5.94
#A42AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42AB0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AB0#FFFFFF#000000##FFFFFF
##A42AB01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#A7436C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42ab0;
/* rgb */ color: rgb(164, 42, 176);
/* oklch */ color: oklch(53.1% 0.216 324.0);
Tailwind
colors: {
  custom: {
    50: '#c371c8',
    500: '#a42ab0',
    950: '#000000',
  },
}
SCSS
$custom: #a42ab0;
$custom-light: #c371c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ab0",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 294.627,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.21551,
    "h": 324
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#A42AB0
secondary
#78C670
accent
#E54352
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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