#A42893#A42893

#A42893 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 334.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A42893
RGBrgb(164, 40, 147)
HSLhsl(308, 61%, 40%)
HSVhsv(308, 76%, 64%)
CMYKcmyk(0%, 75.6%, 10.4%, 35.7%)
CIE-LABlab(40.44, 60.59, -30.92)
CIE-LCHlch(40.44, 68.03, 332.97°)
OKLaboklab(51.25% 0.1762 -0.0847)
OKLCHoklch(51.25% 0.195 334.3)
XYZxyz(21.3353, 11.5186, 28.6977)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42893 #28A439
analogous
#7728A4 #A42893 #A42855
triadic
#A42893 #93A428 #2893A4
tetradic
#A42893 #A47728 #28A439 #2855A4
square
#A42893 #A47728 #28A439 #2855A4
split-complementary
#A42893 #55A428 #28A477
monochromatic
#42103B #731C67 #A42893 #CF3ABB #DB6BCC

Accessibility & contrast

On white

6.36
#A42893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42893
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42893#FFFFFF#000000##FFFFFF
##A428931.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#AC335B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42893;
/* rgb */ color: rgb(164, 40, 147);
/* oklch */ color: oklch(51.2% 0.195 334.3);
Tailwind
colors: {
  custom: {
    50: '#c36fb3',
    500: '#a42893',
    950: '#000000',
  },
}
SCSS
$custom: #a42893;
$custom-light: #c36fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42893",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 308.226,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.19548,
    "h": 334.3
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#A42893
secondary
#66C173
accent
#E45A44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42893

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

Preview Lab → · Contrast checker → · Palette generator →

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