#A42D9F#A42D9F

#A42D9F is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.199 H 329.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A42D9F
RGBrgb(164, 45, 159)
HSLhsl(303, 57%, 41%)
HSVhsv(303, 73%, 64%)
CMYKcmyk(0%, 72.6%, 3%, 35.7%)
CIE-LABlab(41.65, 60.85, -36.26)
CIE-LCHlch(41.65, 70.83, 329.21°)
OKLaboklab(52.32% 0.172 -0.1001)
OKLCHoklch(52.32% 0.199 329.8)
XYZxyz(22.5061, 12.2742, 33.9780)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D9F #2DA432
analogous
#6D2DA4 #A42D9F #A42D63
triadic
#A42D9F #9FA42D #2D9FA4
tetradic
#A42D9F #A46D2D #2DA432 #2D63A4
square
#A42D9F #A46D2D #2DA432 #2D63A4
split-complementary
#A42D9F #63A42D #2DA46D
monochromatic
#441342 #742070 #A42D9F #CB43C6 #D973D4

Accessibility & contrast

On white

6.08
#A42D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A42D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D9F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D9F#FFFFFF#000000##FFFFFF
##A42D9F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AA3D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42d9f;
/* rgb */ color: rgb(164, 45, 159);
/* oklch */ color: oklch(52.3% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#c372bc',
    500: '#a42d9f',
    950: '#000000',
  },
}
SCSS
$custom: #a42d9f;
$custom-light: #c372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d9f",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 302.521,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.19901,
    "h": 329.8
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#A42D9F
secondary
#6DC070
accent
#E04E48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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