#A42A93#A42A93

#A42A93 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.193 H 334.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A42A93
RGBrgb(164, 42, 147)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 74%, 64%)
CMYKcmyk(0%, 74.4%, 10.4%, 35.7%)
CIE-LABlab(40.67, 59.95, -30.57)
CIE-LCHlch(40.67, 67.29, 332.99°)
OKLaboklab(51.41% 0.1743 -0.0837)
OKLCHoklch(51.41% 0.193 334.4)
XYZxyz(21.4045, 11.6569, 28.7208)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A93 #2AA43B
analogous
#782AA4 #A42A93 #A42A56
triadic
#A42A93 #93A42A #2A93A4
tetradic
#A42A93 #A4782A #2AA43B #2A56A4
square
#A42A93 #A4782A #2AA43B #2A56A4
split-complementary
#A42A93 #56A42A #2AA478
monochromatic
#43113C #731E67 #A42A93 #CD3EB9 #DA6ECB

Accessibility & contrast

On white

6.30
#A42A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A93
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A93#FFFFFF#000000##FFFFFF
##A42A931.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#556690
Tritanopia (blue-blind)
#AC355C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42a93;
/* rgb */ color: rgb(164, 42, 147);
/* oklch */ color: oklch(51.4% 0.193 334.4);
Tailwind
colors: {
  custom: {
    50: '#c370b3',
    500: '#a42a93',
    950: '#000000',
  },
}
SCSS
$custom: #a42a93;
$custom-light: #c370b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a93",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 308.361,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.19334,
    "h": 334.4
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#A42A93
secondary
#69C175
accent
#E25B45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A93

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

Preview Lab → · Contrast checker → · Palette generator →

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