#A42DA0#A42DA0

#A42DA0 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.4% C 0.200 H 329.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A42DA0
RGBrgb(164, 45, 160)
HSLhsl(302, 57%, 41%)
HSVhsv(302, 73%, 64%)
CMYKcmyk(0%, 72.6%, 2.4%, 35.7%)
CIE-LABlab(41.70, 61.01, -36.78)
CIE-LCHlch(41.70, 71.24, 328.92°)
OKLaboklab(52.38% 0.172 -0.1016)
OKLCHoklch(52.38% 0.2 329.4)
XYZxyz(22.5932, 12.3091, 34.4368)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DA0 #2DA431
analogous
#6C2DA4 #A42DA0 #A42D64
triadic
#A42DA0 #A0A42D #2DA0A4
tetradic
#A42DA0 #A46C2D #2DA431 #2D64A4
square
#A42DA0 #A46C2D #2DA431 #2D64A4
split-complementary
#A42DA0 #64A42D #2DA46C
monochromatic
#441342 #742071 #A42DA0 #CB43C7 #D973D5

Accessibility & contrast

On white

6.07
#A42DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A42DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DA0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DA0#FFFFFF#000000##FFFFFF
##A42DA01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#AA3D64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42da0;
/* rgb */ color: rgb(164, 45, 160);
/* oklch */ color: oklch(52.4% 0.200 329.4);
Tailwind
colors: {
  custom: {
    50: '#c372bc',
    500: '#a42da0',
    950: '#000000',
  },
}
SCSS
$custom: #a42da0;
$custom-light: #c372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42da0",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 302.017,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.19978,
    "h": 329.4
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#A42DA0
secondary
#6DC070
accent
#E04D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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