#A42F95#A42F95

#A42F95 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.189 H 333.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A42F95
RGBrgb(164, 47, 149)
HSLhsl(308, 55%, 41%)
HSVhsv(308, 71%, 64%)
CMYKcmyk(0%, 71.3%, 9.1%, 35.7%)
CIE-LABlab(41.37, 58.55, -30.67)
CIE-LCHlch(41.37, 66.10, 332.35°)
OKLaboklab(51.95% 0.1694 -0.084)
OKLCHoklch(51.95% 0.189 333.6)
XYZxyz(21.7513, 12.0973, 29.6174)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F95 #2FA43E
analogous
#792FA4 #A42F95 #A42F5B
triadic
#A42F95 #95A42F #2F95A4
tetradic
#A42F95 #A4792F #2FA43E #2F5BA4
square
#A42F95 #A4792F #2FA43E #2F5BA4
split-complementary
#A42F95 #5BA42F #2FA479
monochromatic
#45143F #74216A #A42F95 #CA46B9 #D876CB

Accessibility & contrast

On white

6.14
#A42F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A42F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F95
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F95#FFFFFF#000000##FFFFFF
##A42F951.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#566892
Tritanopia (blue-blind)
#AC3A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42f95;
/* rgb */ color: rgb(164, 47, 149);
/* oklch */ color: oklch(51.9% 0.189 333.6);
Tailwind
colors: {
  custom: {
    50: '#c273b4',
    500: '#a42f95',
    950: '#000000',
  },
}
SCSS
$custom: #a42f95;
$custom-light: #c273b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f95",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 307.692,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.18911,
    "h": 333.6
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#A42F95
secondary
#6FC079
accent
#DF5C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42F95

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

Preview Lab → · Contrast checker → · Palette generator →

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