#A42DA5#A42DA5

#A42DA5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.204 H 327.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A42DA5
RGBrgb(164, 45, 165)
HSLhsl(300, 57%, 41%)
HSVhsv(300, 73%, 65%)
CMYKcmyk(0.6%, 72.7%, 0%, 35.3%)
CIE-LABlab(41.98, 61.84, -39.33)
CIE-LCHlch(41.98, 73.29, 327.54°)
OKLaboklab(52.66% 0.1721 -0.109)
OKLCHoklch(52.66% 0.204 327.6)
XYZxyz(23.0394, 12.4875, 36.7869)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DA5 #2EA52D
analogous
#682DA5 #A42DA5 #A52D6A
triadic
#A42DA5 #A5A42D #2DA5A4
tetradic
#A42DA5 #A5682D #2EA52D #2D6AA5
square
#A42DA5 #A5682D #2EA52D #2D6AA5
split-complementary
#A42DA5 #6AA52D #2DA568
monochromatic
#441345 #742075 #A42DA5 #CB43CC #D873D9

Accessibility & contrast

On white

6.00
#A42DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A42DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DA5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DA5#FFFFFF#000000##FFFFFF
##A42DA51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#A94066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42da5;
/* rgb */ color: rgb(164, 45, 165);
/* oklch */ color: oklch(52.7% 0.204 327.6);
Tailwind
colors: {
  custom: {
    50: '#c372c0',
    500: '#a42da5',
    950: '#000000',
  },
}
SCSS
$custom: #a42da5;
$custom-light: #c372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42da5",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 299.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.20368,
    "h": 327.6
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#A42DA5
secondary
#6EC16D
accent
#E04749
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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