#A42CB3#A42CB3

#A42CB3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.216 H 323.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A42CB3
RGBrgb(164, 44, 179)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 75%, 70%)
CMYKcmyk(8.4%, 75.4%, 0%, 29.8%)
CIE-LABlab(42.69, 64.58, -46.52)
CIE-LCHlch(42.69, 79.59, 324.23°)
OKLaboklab(53.43% 0.1724 -0.13)
OKLCHoklch(53.43% 0.216 323)
XYZxyz(24.3464, 12.9500, 43.8563)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB3 #3BB32C
analogous
#602CB3 #A42CB3 #B32C7E
triadic
#A42CB3 #B3A42C #2CB3A4
tetradic
#A42CB3 #B3602C #3BB32C #2C7EB3
square
#A42CB3 #B3602C #3BB32C #2C7EB3
split-complementary
#A42CB3 #7EB32C #2CB360
monochromatic
#4A1451 #772082 #A42CB3 #C34AD2 #D37BDF

Accessibility & contrast

On white

5.85
#A42CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A42CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB3#FFFFFF#000000##FFFFFF
##A42CB31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#A6466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42cb3;
/* rgb */ color: rgb(164, 44, 179);
/* oklch */ color: oklch(53.4% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#c372ca',
    500: '#a42cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb3;
$custom-light: #c372ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb3",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 293.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.21592,
    "h": 323
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#A42CB3
secondary
#7DC774
accent
#E44456
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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