#A42E93#A42E93

#A42E93 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.189 H 334.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A42E93
RGBrgb(164, 46, 147)
HSLhsl(309, 56%, 41%)
HSVhsv(309, 72%, 64%)
CMYKcmyk(0%, 72%, 10.4%, 35.7%)
CIE-LABlab(41.14, 58.59, -29.81)
CIE-LCHlch(41.14, 65.74, 333.03°)
OKLaboklab(51.75% 0.1703 -0.0815)
OKLCHoklch(51.75% 0.189 334.4)
XYZxyz(21.5535, 11.9549, 28.7705)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E93 #2EA43F
analogous
#7A2EA4 #A42E93 #A42E58
triadic
#A42E93 #93A42E #2E93A4
tetradic
#A42E93 #A47A2E #2EA43F #2E58A4
square
#A42E93 #A47A2E #2EA43F #2E58A4
split-complementary
#A42E93 #58A42E #2EA47A
monochromatic
#44133D #742168 #A42E93 #CB45B7 #D874CA

Accessibility & contrast

On white

6.19
#A42E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42E93
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E93#FFFFFF#000000##FFFFFF
##A42E931.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#566790
Tritanopia (blue-blind)
#AC385D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42e93;
/* rgb */ color: rgb(164, 46, 147);
/* oklch */ color: oklch(51.8% 0.189 334.4);
Tailwind
colors: {
  custom: {
    50: '#c272b3',
    500: '#a42e93',
    950: '#000000',
  },
}
SCSS
$custom: #a42e93;
$custom-light: #c272b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e93",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 308.644,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.18881,
    "h": 334.4
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#A42E93
secondary
#6EC07A
accent
#DF5E48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42E93

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

Preview Lab → · Contrast checker → · Palette generator →

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