#A42EA0#A42EA0

#A42EA0 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.199 H 329.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A42EA0
RGBrgb(164, 46, 160)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 72%, 64%)
CMYKcmyk(0%, 72%, 2.4%, 35.7%)
CIE-LABlab(41.82, 60.67, -36.59)
CIE-LCHlch(41.82, 70.84, 328.91°)
OKLaboklab(52.46% 0.171 -0.1011)
OKLCHoklch(52.46% 0.199 329.4)
XYZxyz(22.6318, 12.3863, 34.4497)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EA0 #2EA432
analogous
#6D2EA4 #A42EA0 #A42E65
triadic
#A42EA0 #A0A42E #2EA0A4
tetradic
#A42EA0 #A46D2E #2EA432 #2E65A4
square
#A42EA0 #A46D2E #2EA432 #2E65A4
split-complementary
#A42EA0 #65A42E #2EA46D
monochromatic
#441343 #742171 #A42EA0 #CB45C6 #D874D5

Accessibility & contrast

On white

6.04
#A42EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A42EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EA0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EA0#FFFFFF#000000##FFFFFF
##A42EA01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A3
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#AA3E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ea0;
/* rgb */ color: rgb(164, 46, 160);
/* oklch */ color: oklch(52.5% 0.199 329.4);
Tailwind
colors: {
  custom: {
    50: '#c372bc',
    500: '#a42ea0',
    950: '#000000',
  },
}
SCSS
$custom: #a42ea0;
$custom-light: #c372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ea0",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 302.034,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.19866,
    "h": 329.4
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#A42EA0
secondary
#6EC071
accent
#DF4D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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