#A42C95#A42C95

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

Color values

HEX#A42C95
RGBrgb(164, 44, 149)
HSLhsl(308, 58%, 41%)
HSVhsv(308, 73%, 64%)
CMYKcmyk(0%, 73.2%, 9.1%, 35.7%)
CIE-LABlab(41.00, 59.59, -31.25)
CIE-LCHlch(41.00, 67.29, 332.33°)
OKLaboklab(51.68% 0.1725 -0.0856)
OKLCHoklch(51.68% 0.193 333.6)
XYZxyz(21.6355, 11.8656, 29.5788)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C95 #2CA43B
analogous
#772CA4 #A42C95 #A42C59
triadic
#A42C95 #95A42C #2C95A4
tetradic
#A42C95 #A4772C #2CA43B #2C59A4
square
#A42C95 #A4772C #2CA43B #2C59A4
split-complementary
#A42C95 #59A42C #2CA477
monochromatic
#43123D #741F69 #A42C95 #CC41BB #D971CC

Accessibility & contrast

On white

6.23
#A42C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A42C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C95
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C95#FFFFFF#000000##FFFFFF
##A42C951.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285698
Deuteranopia (green-blind)
#546792
Tritanopia (blue-blind)
#AC375D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42c95;
/* rgb */ color: rgb(164, 44, 149);
/* oklch */ color: oklch(51.7% 0.193 333.6);
Tailwind
colors: {
  custom: {
    50: '#c371b4',
    500: '#a42c95',
    950: '#000000',
  },
}
SCSS
$custom: #a42c95;
$custom-light: #c371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c95",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 307.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.19258,
    "h": 333.6
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#A42C95
secondary
#6BC076
accent
#E15A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42C95

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

Preview Lab → · Contrast checker → · Palette generator →

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