#A42CB6#A42CB6

#A42CB6 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.218 H 322.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A42CB6
RGBrgb(164, 44, 182)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 76%, 71%)
CMYKcmyk(9.9%, 75.8%, 0%, 28.6%)
CIE-LABlab(42.87, 65.11, -47.99)
CIE-LCHlch(42.87, 80.88, 323.61°)
OKLaboklab(53.62% 0.1722 -0.1343)
OKLCHoklch(53.62% 0.218 322.1)
XYZxyz(24.6531, 13.0727, 45.4716)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB6 #3EB62C
analogous
#5F2CB6 #A42CB6 #B62C83
triadic
#A42CB6 #B6A42C #2CB6A4
tetradic
#A42CB6 #B65F2C #3EB62C #2C83B6
square
#A42CB6 #B65F2C #3EB62C #2C83B6
split-complementary
#A42CB6 #83B62C #2CB65F
monochromatic
#4B1453 #782085 #A42CB6 #C24CD4 #D37DE0

Accessibility & contrast

On white

5.81
#A42CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A42CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB6#FFFFFF#000000##FFFFFF
##A42CB61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#A64770
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42cb6;
/* rgb */ color: rgb(164, 44, 182);
/* oklch */ color: oklch(53.6% 0.218 322.1);
Tailwind
colors: {
  custom: {
    50: '#c373cc',
    500: '#a42cb6',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb6;
$custom-light: #c373cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb6",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 292.174,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.21835,
    "h": 322.1
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#A42CB6
secondary
#81C876
accent
#E44459
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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