#A42EA4#A42EA4

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

Color values

HEX#A42EA4
RGBrgb(164, 46, 164)
HSLhsl(300, 56%, 41%)
HSVhsv(300, 72%, 64%)
CMYKcmyk(0%, 72%, 0%, 35.7%)
CIE-LABlab(42.04, 61.33, -38.63)
CIE-LCHlch(42.04, 72.48, 327.79°)
OKLaboklab(52.69% 0.1711 -0.107)
OKLCHoklch(52.69% 0.202 328)
XYZxyz(22.9874, 12.5285, 36.3223)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EA4 #2EA42E
analogous
#692EA4 #A42EA4 #A42E69
triadic
#A42EA4 #A4A42E #2EA4A4
tetradic
#A42EA4 #A4692E #2EA42E #2E69A4
square
#A42EA4 #A4692E #2EA42E #2E69A4
split-complementary
#A42EA4 #69A42E #2EA469
monochromatic
#441344 #742174 #A42EA4 #CB45CB #D874D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42EA4#FFFFFF#000000##FFFFFF
##A42EA41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#A94066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ea4;
/* rgb */ color: rgb(164, 46, 164);
/* oklch */ color: oklch(52.7% 0.202 328.0);
Tailwind
colors: {
  custom: {
    50: '#c373bf',
    500: '#a42ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a42ea4;
$custom-light: #c373bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ea4",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.20179,
    "h": 328
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#A42EA4
secondary
#6EC06E
accent
#DF4848
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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