#A42DA3#A42DA3

#A42DA3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.202 H 328.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A42DA3
RGBrgb(164, 45, 163)
HSLhsl(301, 57%, 41%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 72.6%, 0.6%, 35.7%)
CIE-LABlab(41.87, 61.50, -38.31)
CIE-LCHlch(41.87, 72.46, 328.08°)
OKLaboklab(52.55% 0.1721 -0.1061)
OKLCHoklch(52.55% 0.202 328.3)
XYZxyz(22.8588, 12.4153, 35.8357)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DA3 #2DA42E
analogous
#692DA4 #A42DA3 #A42D67
triadic
#A42DA3 #A3A42D #2DA3A4
tetradic
#A42DA3 #A4692D #2DA42E #2D67A4
square
#A42DA3 #A4692D #2DA42E #2D67A4
split-complementary
#A42DA3 #67A42D #2DA469
monochromatic
#441344 #742073 #A42DA3 #CB43CA #D973D8

Accessibility & contrast

On white

6.03
#A42DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A42DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DA3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DA3#FFFFFF#000000##FFFFFF
##A42DA31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#A93F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42da3;
/* rgb */ color: rgb(164, 45, 163);
/* oklch */ color: oklch(52.5% 0.202 328.3);
Tailwind
colors: {
  custom: {
    50: '#c372bf',
    500: '#a42da3',
    950: '#000000',
  },
}
SCSS
$custom: #a42da3;
$custom-light: #c372bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42da3",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 300.504,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.20211,
    "h": 328.3
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#A42DA3
secondary
#6DC06D
accent
#E04948
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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