#A42CAA#A42CAA

#A42CAA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.209 H 325.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A42CAA
RGBrgb(164, 44, 170)
HSLhsl(297, 59%, 42%)
HSVhsv(297, 74%, 67%)
CMYKcmyk(3.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(42.15, 63.02, -42.04)
CIE-LCHlch(42.15, 75.75, 326.29°)
OKLaboklab(52.88% 0.1729 -0.1169)
OKLCHoklch(52.88% 0.209 325.9)
XYZxyz(23.4657, 12.5977, 39.2181)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CAA #32AA2C
analogous
#652CAA #A42CAA #AA2C71
triadic
#A42CAA #AAA42C #2CAAA4
tetradic
#A42CAA #AA652C #32AA2C #2C71AA
square
#A42CAA #AA652C #32AA2C #2C71AA
split-complementary
#A42CAA #71AA2C #2CAA65
monochromatic
#461349 #751F79 #A42CAA #C844CF #D675DB

Accessibility & contrast

On white

5.97
#A42CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A42CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CAA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CAA#FFFFFF#000000##FFFFFF
##A42CAA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42caa;
/* rgb */ color: rgb(164, 44, 170);
/* oklch */ color: oklch(52.9% 0.209 325.9);
Tailwind
colors: {
  custom: {
    50: '#c372c4',
    500: '#a42caa',
    950: '#000000',
  },
}
SCSS
$custom: #a42caa;
$custom-light: #c372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42caa",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 297.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.2087,
    "h": 325.9
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#A42CAA
secondary
#73C36F
accent
#E2464D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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