#A42CB7#A42CB7

#A42CB7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.219 H 321.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A42CB7
RGBrgb(164, 44, 183)
HSLhsl(292, 61%, 45%)
HSVhsv(292, 76%, 72%)
CMYKcmyk(10.4%, 76%, 0%, 28.2%)
CIE-LABlab(42.93, 65.29, -48.48)
CIE-LCHlch(42.93, 81.32, 323.40°)
OKLaboklab(53.69% 0.1721 -0.1357)
OKLCHoklch(53.69% 0.219 321.7)
XYZxyz(24.7568, 13.1142, 46.0178)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB7 #3FB72C
analogous
#5F2CB7 #A42CB7 #B72C84
triadic
#A42CB7 #B7A42C #2CB7A4
tetradic
#A42CB7 #B75F2C #3FB72C #2C84B7
square
#A42CB7 #B75F2C #3FB72C #2C84B7
split-complementary
#A42CB7 #84B72C #2CB75F
monochromatic
#4C1454 #782086 #A42CB7 #C14CD4 #D27EE0

Accessibility & contrast

On white

5.80
#A42CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A42CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB7#FFFFFF#000000##FFFFFF
##A42CB71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#A64870
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42cb7;
/* rgb */ color: rgb(164, 44, 183);
/* oklch */ color: oklch(53.7% 0.219 321.7);
Tailwind
colors: {
  custom: {
    50: '#c373cd',
    500: '#a42cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb7;
$custom-light: #c373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb7",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 291.799,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.21917,
    "h": 321.7
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#A42CB7
secondary
#82C876
accent
#E44359
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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