#A42DA2#A42DA2

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

Color values

HEX#A42DA2
RGBrgb(164, 45, 162)
HSLhsl(301, 57%, 41%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 72.6%, 1.2%, 35.7%)
CIE-LABlab(41.81, 61.34, -37.80)
CIE-LCHlch(41.81, 72.05, 328.36°)
OKLaboklab(52.49% 0.172 -0.1046)
OKLCHoklch(52.49% 0.201 328.7)
XYZxyz(22.7696, 12.3796, 35.3657)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DA2 #2DA42F
analogous
#6A2DA4 #A42DA2 #A42D66
triadic
#A42DA2 #A2A42D #2DA2A4
tetradic
#A42DA2 #A46A2D #2DA42F #2D66A4
square
#A42DA2 #A46A2D #2DA42F #2D66A4
split-complementary
#A42DA2 #66A42D #2DA46A
monochromatic
#441343 #742073 #A42DA2 #CB43C9 #D973D7

Accessibility & contrast

On white

6.04
#A42DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42DA2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DA2#FFFFFF#000000##FFFFFF
##A42DA21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AA3E65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42da2;
/* rgb */ color: rgb(164, 45, 162);
/* oklch */ color: oklch(52.5% 0.201 328.7);
Tailwind
colors: {
  custom: {
    50: '#c372be',
    500: '#a42da2',
    950: '#000000',
  },
}
SCSS
$custom: #a42da2;
$custom-light: #c372be;
$custom-dark: #000000;
JSON
{
  "hex": "#a42da2",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 301.008,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.20133,
    "h": 328.7
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#A42DA2
secondary
#6DC06E
accent
#E04A48
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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