#A42ABC#A42ABC

#A42ABC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.225 H 320.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A42ABC
RGBrgb(164, 42, 188)
HSLhsl(290, 63%, 45%)
HSVhsv(290, 78%, 74%)
CMYKcmyk(12.8%, 77.7%, 0%, 26.3%)
CIE-LABlab(43.03, 66.81, -51.26)
CIE-LCHlch(43.03, 84.21, 322.51°)
OKLaboklab(53.86% 0.1733 -0.1438)
OKLCHoklch(53.86% 0.225 320.3)
XYZxyz(25.2138, 13.1806, 48.7832)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42ABC #42BC2A
analogous
#5B2ABC #A42ABC #BC2A8B
triadic
#A42ABC #BCA42A #2ABCA4
tetradic
#A42ABC #BC5B2A #42BC2A #2A8BBC
square
#A42ABC #BC5B2A #42BC2A #2A8BBC
split-complementary
#A42ABC #8BBC2A #2ABC5B
monochromatic
#4D1458 #781F8A #A42ABC #C04CD7 #D27EE2

Accessibility & contrast

On white

5.78
#A42ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A42ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42ABC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42ABC#FFFFFF#000000##FFFFFF
##A42ABC1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#A54973
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42abc;
/* rgb */ color: rgb(164, 42, 188);
/* oklch */ color: oklch(53.9% 0.225 320.3);
Tailwind
colors: {
  custom: {
    50: '#c372d1',
    500: '#a42abc',
    950: '#000000',
  },
}
SCSS
$custom: #a42abc;
$custom-light: #c372d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42abc",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 290.137,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.22518,
    "h": 320.3
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#A42ABC
secondary
#85CB77
accent
#E7415C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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