#A42792#A42792

#A42792 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.196 H 334.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A42792
RGBrgb(164, 39, 146)
HSLhsl(309, 62%, 40%)
HSVhsv(309, 76%, 64%)
CMYKcmyk(0%, 76.2%, 11%, 35.7%)
CIE-LABlab(40.28, 60.75, -30.56)
CIE-LCHlch(40.28, 68.01, 333.29°)
OKLaboklab(51.11% 0.1771 -0.0836)
OKLCHoklch(51.11% 0.196 334.7)
XYZxyz(21.2239, 11.4208, 28.2752)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42792 #27A439
analogous
#7827A4 #A42792 #A42754
triadic
#A42792 #92A427 #2792A4
tetradic
#A42792 #A47827 #27A439 #2754A4
square
#A42792 #A47827 #27A439 #2754A4
split-complementary
#A42792 #54A427 #27A478
monochromatic
#410F3A #731B66 #A42792 #D038BA #DC6ACB

Accessibility & contrast

On white

6.40
#A42792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A42792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42792
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42792#FFFFFF#000000##FFFFFF
##A427921.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#54658F
Tritanopia (blue-blind)
#AC325A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42792;
/* rgb */ color: rgb(164, 39, 146);
/* oklch */ color: oklch(51.1% 0.196 334.7);
Tailwind
colors: {
  custom: {
    50: '#c36fb2',
    500: '#a42792',
    950: '#000000',
  },
}
SCSS
$custom: #a42792;
$custom-light: #c36fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42792",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 308.64,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.19581,
    "h": 334.7
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42792

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

Preview Lab → · Contrast checker → · Palette generator →

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