#A42793#A42793

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

Color values

HEX#A42793
RGBrgb(164, 39, 147)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 76%, 64%)
CMYKcmyk(0%, 76.2%, 10.4%, 35.7%)
CIE-LABlab(40.33, 60.91, -31.09)
CIE-LCHlch(40.33, 68.38, 332.96°)
OKLaboklab(51.17% 0.1771 -0.0851)
OKLCHoklch(51.17% 0.197 334.3)
XYZxyz(21.3020, 11.4520, 28.6867)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42793 #27A438
analogous
#7727A4 #A42793 #A42755
triadic
#A42793 #93A427 #2793A4
tetradic
#A42793 #A47727 #27A438 #2755A4
square
#A42793 #A47727 #27A438 #2755A4
split-complementary
#A42793 #55A427 #27A477
monochromatic
#410F3A #731B67 #A42793 #D038BB #DC6ACC

Accessibility & contrast

On white

6.38
#A42793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A42793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42793
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42793#FFFFFF#000000##FFFFFF
##A427931.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42793;
/* rgb */ color: rgb(164, 39, 147);
/* oklch */ color: oklch(51.2% 0.197 334.3);
Tailwind
colors: {
  custom: {
    50: '#c36fb3',
    500: '#a42793',
    950: '#000000',
  },
}
SCSS
$custom: #a42793;
$custom-light: #c36fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42793",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 308.16,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.19652,
    "h": 334.3
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#A42793
secondary
#65C272
accent
#E55943
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42793

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

Preview Lab → · Contrast checker → · Palette generator →

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