#A42D95#A42D95

#A42D95 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.191 H 333.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A42D95
RGBrgb(164, 45, 149)
HSLhsl(308, 57%, 41%)
HSVhsv(308, 73%, 64%)
CMYKcmyk(0%, 72.6%, 9.1%, 35.7%)
CIE-LABlab(41.12, 59.25, -31.06)
CIE-LCHlch(41.12, 66.90, 332.33°)
OKLaboklab(51.77% 0.1715 -0.0851)
OKLCHoklch(51.77% 0.191 333.6)
XYZxyz(21.6732, 11.9410, 29.5913)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D95 #2DA43C
analogous
#772DA4 #A42D95 #A42D59
triadic
#A42D95 #95A42D #2D95A4
tetradic
#A42D95 #A4772D #2DA43C #2D59A4
square
#A42D95 #A4772D #2DA43C #2D59A4
split-complementary
#A42D95 #59A42D #2DA477
monochromatic
#44133E #742069 #A42D95 #CB43BA #D973CC

Accessibility & contrast

On white

6.20
#A42D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42D95
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D95#FFFFFF#000000##FFFFFF
##A42D951.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#556792
Tritanopia (blue-blind)
#AC385E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d95;
/* rgb */ color: rgb(164, 45, 149);
/* oklch */ color: oklch(51.8% 0.191 333.6);
Tailwind
colors: {
  custom: {
    50: '#c272b4',
    500: '#a42d95',
    950: '#000000',
  },
}
SCSS
$custom: #a42d95;
$custom-light: #c272b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d95",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 307.563,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.19144,
    "h": 333.6
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42D95

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

Preview Lab → · Contrast checker → · Palette generator →

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