#A42D93#A42D93

#A42D93 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 334.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A42D93
RGBrgb(164, 45, 147)
HSLhsl(309, 57%, 41%)
HSVhsv(309, 73%, 64%)
CMYKcmyk(0%, 72.6%, 10.4%, 35.7%)
CIE-LABlab(41.02, 58.94, -30.01)
CIE-LCHlch(41.02, 66.14, 333.02°)
OKLaboklab(51.66% 0.1713 -0.0821)
OKLCHoklch(51.66% 0.19 334.4)
XYZxyz(21.5149, 11.8777, 28.7576)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D93 #2DA43E
analogous
#792DA4 #A42D93 #A42D57
triadic
#A42D93 #93A42D #2D93A4
tetradic
#A42D93 #A4792D #2DA43E #2D57A4
square
#A42D93 #A4792D #2DA43E #2D57A4
split-complementary
#A42D93 #57A42D #2DA479
monochromatic
#44133D #742068 #A42D93 #CB43B8 #D973CA

Accessibility & contrast

On white

6.22
#A42D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A42D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D93
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D93#FFFFFF#000000##FFFFFF
##A42D931.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5696
Deuteranopia (green-blind)
#566790
Tritanopia (blue-blind)
#AC375D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d93;
/* rgb */ color: rgb(164, 45, 147);
/* oklch */ color: oklch(51.7% 0.190 334.4);
Tailwind
colors: {
  custom: {
    50: '#c372b3',
    500: '#a42d93',
    950: '#000000',
  },
}
SCSS
$custom: #a42d93;
$custom-light: #c372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d93",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 308.571,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.18998,
    "h": 334.4
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#A42D93
secondary
#6DC079
accent
#E05D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D93

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

Preview Lab → · Contrast checker → · Palette generator →

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