#A42B93#A42B93

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

Color values

HEX#A42B93
RGBrgb(164, 43, 147)
HSLhsl(308, 58%, 41%)
HSVhsv(308, 74%, 64%)
CMYKcmyk(0%, 73.8%, 10.4%, 35.7%)
CIE-LABlab(40.78, 59.62, -30.38)
CIE-LCHlch(40.78, 66.92, 333.00°)
OKLaboklab(51.49% 0.1733 -0.0831)
OKLCHoklch(51.49% 0.192 334.4)
XYZxyz(21.4404, 11.7287, 28.7328)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B93 #2BA43C
analogous
#782BA4 #A42B93 #A42B56
triadic
#A42B93 #93A42B #2B93A4
tetradic
#A42B93 #A4782B #2BA43C #2B56A4
square
#A42B93 #A4782B #2BA43C #2B56A4
split-complementary
#A42B93 #56A42B #2BA478
monochromatic
#43123C #741E68 #A42B93 #CD3FB9 #D970CB

Accessibility & contrast

On white

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

On black

3.35
#A42B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42B93#FFFFFF#000000##FFFFFF
##A42B931.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295596
Deuteranopia (green-blind)
#556690
Tritanopia (blue-blind)
#AC365C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42b93;
/* rgb */ color: rgb(164, 43, 147);
/* oklch */ color: oklch(51.5% 0.192 334.4);
Tailwind
colors: {
  custom: {
    50: '#c371b3',
    500: '#a42b93',
    950: '#000000',
  },
}
SCSS
$custom: #a42b93;
$custom-light: #c371b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b93",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 308.43,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.19224,
    "h": 334.4
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#A42B93
secondary
#6AC176
accent
#E25C46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B93

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

Preview Lab → · Contrast checker → · Palette generator →

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