#A42DAA#A42DAA

#A42DAA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.208 H 325.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A42DAA
RGBrgb(164, 45, 170)
HSLhsl(297, 58%, 42%)
HSVhsv(297, 74%, 67%)
CMYKcmyk(3.5%, 73.5%, 0%, 33.3%)
CIE-LABlab(42.27, 62.69, -41.86)
CIE-LCHlch(42.27, 75.38, 326.27°)
OKLaboklab(52.96% 0.172 -0.1164)
OKLCHoklch(52.96% 0.208 325.9)
XYZxyz(23.5034, 12.6731, 39.2306)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DAA #33AA2D
analogous
#662DAA #A42DAA #AA2D72
triadic
#A42DAA #AAA42D #2DAAA4
tetradic
#A42DAA #AA662D #33AA2D #2D72AA
square
#A42DAA #AA662D #33AA2D #2D72AA
split-complementary
#A42DAA #72AA2D #2DAA66
monochromatic
#471349 #75207A #A42DAA #C846CE #D677DB

Accessibility & contrast

On white

5.94
#A42DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A42DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DAA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DAA#FFFFFF#000000##FFFFFF
##A42DAA1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#A84269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42daa;
/* rgb */ color: rgb(164, 45, 170);
/* oklch */ color: oklch(53.0% 0.208 325.9);
Tailwind
colors: {
  custom: {
    50: '#c372c4',
    500: '#a42daa',
    950: '#000000',
  },
}
SCSS
$custom: #a42daa;
$custom-light: #c372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42daa",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 297.12,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.20764,
    "h": 325.9
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#A42DAA
secondary
#74C370
accent
#E1464E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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