#A42D96#A42D96

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

Color values

HEX#A42D96
RGBrgb(164, 45, 150)
HSLhsl(307, 57%, 41%)
HSVhsv(307, 73%, 64%)
CMYKcmyk(0%, 72.6%, 8.5%, 35.7%)
CIE-LABlab(41.17, 59.41, -31.59)
CIE-LCHlch(41.17, 67.28, 332.00°)
OKLaboklab(51.82% 0.1716 -0.0866)
OKLCHoklch(51.82% 0.192 333.2)
XYZxyz(21.7534, 11.9731, 30.0136)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D96 #2DA43B
analogous
#762DA4 #A42D96 #A42D5A
triadic
#A42D96 #96A42D #2D96A4
tetradic
#A42D96 #A4762D #2DA43B #2D5AA4
square
#A42D96 #A4762D #2DA43B #2D5AA4
split-complementary
#A42D96 #5AA42D #2DA476
monochromatic
#44133E #74206A #A42D96 #CB43BB #D973CD

Accessibility & contrast

On white

6.19
#A42D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A42D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D96
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D96#FFFFFF#000000##FFFFFF
##A42D961.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AB395E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d96;
/* rgb */ color: rgb(164, 45, 150);
/* oklch */ color: oklch(51.8% 0.192 333.2);
Tailwind
colors: {
  custom: {
    50: '#c272b5',
    500: '#a42d96',
    950: '#000000',
  },
}
SCSS
$custom: #a42d96;
$custom-light: #c272b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d96",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 307.059,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.19218,
    "h": 333.2
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#A42D96
secondary
#6DC077
accent
#E05A48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D96

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

Preview Lab → · Contrast checker → · Palette generator →

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