#A42EA9#A42EA9

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

Color values

HEX#A42EA9
RGBrgb(164, 46, 169)
HSLhsl(298, 57%, 42%)
HSVhsv(298, 73%, 66%)
CMYKcmyk(3%, 72.8%, 0%, 33.7%)
CIE-LABlab(42.33, 62.18, -41.16)
CIE-LCHlch(42.33, 74.57, 326.49°)
OKLaboklab(52.99% 0.1711 -0.1144)
OKLCHoklch(52.99% 0.206 326.2)
XYZxyz(23.4478, 12.7127, 38.7472)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EA9 #33A92E
analogous
#672EA9 #A42EA9 #A92E71
triadic
#A42EA9 #A9A42E #2EA9A4
tetradic
#A42EA9 #A9672E #33A92E #2E71A9
square
#A42EA9 #A9672E #33A92E #2E71A9
split-complementary
#A42EA9 #71A92E #2EA967
monochromatic
#471449 #752179 #A42EA9 #C847CD #D677DA

Accessibility & contrast

On white

5.93
#A42EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A42EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EA9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EA9#FFFFFF#000000##FFFFFF
##A42EA91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5AAC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#A84269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42ea9;
/* rgb */ color: rgb(164, 46, 169);
/* oklch */ color: oklch(53.0% 0.206 326.2);
Tailwind
colors: {
  custom: {
    50: '#c373c3',
    500: '#a42ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a42ea9;
$custom-light: #c373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ea9",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 297.561,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.20576,
    "h": 326.2
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#A42EA9
secondary
#74C271
accent
#E0474E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A42EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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