#A42AAD#A42AAD

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

Color values

HEX#A42AAD
RGBrgb(164, 42, 173)
HSLhsl(296, 61%, 42%)
HSVhsv(296, 76%, 68%)
CMYKcmyk(5.2%, 75.7%, 0%, 32.2%)
CIE-LABlab(42.10, 64.17, -43.90)
CIE-LCHlch(42.10, 77.75, 325.63°)
OKLaboklab(52.9% 0.1746 -0.1223)
OKLCHoklch(52.9% 0.213 325)
XYZxyz(23.6801, 12.5671, 40.7055)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AAD #33AD2A
analogous
#632AAD #A42AAD #AD2A75
triadic
#A42AAD #ADA42A #2AADA4
tetradic
#A42AAD #AD632A #33AD2A #2A75AD
square
#A42AAD #AD632A #33AD2A #2A75AD
split-complementary
#A42AAD #75AD2A #2AAD63
monochromatic
#47124B #751E7C #A42AAD #C843D1 #D674DD

Accessibility & contrast

On white

5.98
#A42AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A42AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AAD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AAD#FFFFFF#000000##FFFFFF
##A42AAD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4668AA
Tritanopia (blue-blind)
#A8426A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42aad;
/* rgb */ color: rgb(164, 42, 173);
/* oklch */ color: oklch(52.9% 0.213 325.0);
Tailwind
colors: {
  custom: {
    50: '#c371c6',
    500: '#a42aad',
    950: '#000000',
  },
}
SCSS
$custom: #a42aad;
$custom-light: #c371c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aad",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 295.878,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.21313,
    "h": 325
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#A42AAD
secondary
#74C56E
accent
#E4444F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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