#A42E9E#A42E9E

#A42E9E is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 330.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A42E9E
RGBrgb(164, 46, 158)
HSLhsl(303, 56%, 41%)
HSVhsv(303, 72%, 64%)
CMYKcmyk(0%, 72%, 3.7%, 35.7%)
CIE-LABlab(41.72, 60.34, -35.56)
CIE-LCHlch(41.72, 70.04, 329.49°)
OKLaboklab(52.35% 0.171 -0.0981)
OKLCHoklch(52.35% 0.197 330.2)
XYZxyz(22.4583, 12.3168, 33.5357)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E9E #2EA434
analogous
#6F2EA4 #A42E9E #A42E63
triadic
#A42E9E #9EA42E #2E9EA4
tetradic
#A42E9E #A46F2E #2EA434 #2E63A4
square
#A42E9E #A46F2E #2EA434 #2E63A4
split-complementary
#A42E9E #63A42E #2EA46F
monochromatic
#441342 #742170 #A42E9E #CB45C4 #D874D3

Accessibility & contrast

On white

6.06
#A42E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A42E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E9E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E9E#FFFFFF#000000##FFFFFF
##A42E9E1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AA3D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42e9e;
/* rgb */ color: rgb(164, 46, 158);
/* oklch */ color: oklch(52.3% 0.197 330.2);
Tailwind
colors: {
  custom: {
    50: '#c272bb',
    500: '#a42e9e',
    950: '#000000',
  },
}
SCSS
$custom: #a42e9e;
$custom-light: #c272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e9e",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 303.051,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.19711,
    "h": 330.2
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#A42E9E
secondary
#6EC072
accent
#DF5048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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