#A42D92#A42D92

#A42D92 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.189 H 334.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A42D92
RGBrgb(164, 45, 146)
HSLhsl(309, 57%, 41%)
HSVhsv(309, 73%, 64%)
CMYKcmyk(0%, 72.6%, 11%, 35.7%)
CIE-LABlab(40.97, 58.79, -29.48)
CIE-LCHlch(40.97, 65.76, 333.37°)
OKLaboklab(51.61% 0.1712 -0.0806)
OKLCHoklch(51.61% 0.189 334.8)
XYZxyz(21.4368, 11.8465, 28.3461)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D92 #2DA43F
analogous
#7A2DA4 #A42D92 #A42D56
triadic
#A42D92 #92A42D #2D92A4
tetradic
#A42D92 #A47A2D #2DA43F #2D56A4
square
#A42D92 #A47A2D #2DA43F #2D56A4
split-complementary
#A42D92 #56A42D #2DA47A
monochromatic
#44133C #742067 #A42D92 #CB43B7 #D973C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42D92#FFFFFF#000000##FFFFFF
##A42D921.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)
#2C5595
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#AC375C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d92;
/* rgb */ color: rgb(164, 45, 146);
/* oklch */ color: oklch(51.6% 0.189 334.8);
Tailwind
colors: {
  custom: {
    50: '#c372b2',
    500: '#a42d92',
    950: '#000000',
  },
}
SCSS
$custom: #a42d92;
$custom-light: #c372b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d92",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 309.076,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.18924,
    "h": 334.8
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#A42D92
secondary
#6DC079
accent
#E05F48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D92

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

Preview Lab → · Contrast checker → · Palette generator →

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