#A42DA6#A42DA6

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

Color values

HEX#A42DA6
RGBrgb(164, 45, 166)
HSLhsl(299, 57%, 41%)
HSVhsv(299, 73%, 65%)
CMYKcmyk(1.2%, 72.9%, 0%, 34.9%)
CIE-LABlab(42.04, 62.01, -39.84)
CIE-LCHlch(42.04, 73.70, 327.28°)
OKLaboklab(52.72% 0.172 -0.1105)
OKLCHoklch(52.72% 0.204 327.3)
XYZxyz(23.1308, 12.5241, 37.2681)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DA6 #2FA62D
analogous
#682DA6 #A42DA6 #A62D6C
triadic
#A42DA6 #A6A42D #2DA6A4
tetradic
#A42DA6 #A6682D #2FA62D #2D6CA6
square
#A42DA6 #A6682D #2FA62D #2D6CA6
split-complementary
#A42DA6 #6CA62D #2DA668
monochromatic
#451346 #742076 #A42DA6 #CA44CC #D874D9

Accessibility & contrast

On white

5.99
#A42DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42DA6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DA6#FFFFFF#000000##FFFFFF
##A42DA61.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#4C68A3
Tritanopia (blue-blind)
#A94067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42da6;
/* rgb */ color: rgb(164, 45, 166);
/* oklch */ color: oklch(52.7% 0.204 327.3);
Tailwind
colors: {
  custom: {
    50: '#c372c1',
    500: '#a42da6',
    950: '#000000',
  },
}
SCSS
$custom: #a42da6;
$custom-light: #c372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42da6",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 299.008,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.20446,
    "h": 327.3
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#A42DA6
secondary
#6FC16E
accent
#E1474A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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