#A42A95#A42A95

#A42A95 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.195 H 333.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A42A95
RGBrgb(164, 42, 149)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 74%, 64%)
CMYKcmyk(0%, 74.4%, 9.1%, 35.7%)
CIE-LABlab(40.77, 60.26, -31.62)
CIE-LCHlch(40.77, 68.05, 332.31°)
OKLaboklab(51.51% 0.1744 -0.0867)
OKLCHoklch(51.51% 0.195 333.6)
XYZxyz(21.5628, 11.7202, 29.5545)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A95 #2AA439
analogous
#762AA4 #A42A95 #A42A58
triadic
#A42A95 #95A42A #2A95A4
tetradic
#A42A95 #A4762A #2AA439 #2A58A4
square
#A42A95 #A4762A #2AA439 #2A58A4
split-complementary
#A42A95 #58A42A #2AA476
monochromatic
#43113C #731E69 #A42A95 #CD3EBC #DA6ECD

Accessibility & contrast

On white

6.28
#A42A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A42A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A95
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A95#FFFFFF#000000##FFFFFF
##A42A951.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#546692
Tritanopia (blue-blind)
#AC365D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42a95;
/* rgb */ color: rgb(164, 42, 149);
/* oklch */ color: oklch(51.5% 0.195 333.6);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a42a95',
    950: '#000000',
  },
}
SCSS
$custom: #a42a95;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a95",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 307.377,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.19479,
    "h": 333.6
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#A42A95
secondary
#69C174
accent
#E25945
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A95

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

Preview Lab → · Contrast checker → · Palette generator →

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