#A42E96#A42E96

#A42E96 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.191 H 333.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A42E96
RGBrgb(164, 46, 150)
HSLhsl(307, 56%, 41%)
HSVhsv(307, 72%, 64%)
CMYKcmyk(0%, 72%, 8.5%, 35.7%)
CIE-LABlab(41.30, 59.06, -31.39)
CIE-LCHlch(41.30, 66.88, 332.01°)
OKLaboklab(51.91% 0.1705 -0.0861)
OKLCHoklch(51.91% 0.191 333.2)
XYZxyz(21.7920, 12.0503, 30.0265)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E96 #2EA43C
analogous
#772EA4 #A42E96 #A42E5B
triadic
#A42E96 #96A42E #2E96A4
tetradic
#A42E96 #A4772E #2EA43C #2E5BA4
square
#A42E96 #A4772E #2EA43C #2E5BA4
split-complementary
#A42E96 #5BA42E #2EA477
monochromatic
#44133F #74216A #A42E96 #CB45BB #D874CC

Accessibility & contrast

On white

6.16
#A42E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A42E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E96
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E96#FFFFFF#000000##FFFFFF
##A42E961.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#556793
Tritanopia (blue-blind)
#AB395F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42e96;
/* rgb */ color: rgb(164, 46, 150);
/* oklch */ color: oklch(51.9% 0.191 333.2);
Tailwind
colors: {
  custom: {
    50: '#c272b5',
    500: '#a42e96',
    950: '#000000',
  },
}
SCSS
$custom: #a42e96;
$custom-light: #c272b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e96",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 307.119,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.19103,
    "h": 333.2
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#A42E96
secondary
#6EC078
accent
#DF5A48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42E96

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

Preview Lab → · Contrast checker → · Palette generator →

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