#A42FA0#A42FA0

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

Color values

HEX#A42FA0
RGBrgb(164, 47, 160)
HSLhsl(302, 55%, 41%)
HSVhsv(302, 71%, 64%)
CMYKcmyk(0%, 71.3%, 2.4%, 35.7%)
CIE-LABlab(41.95, 60.32, -36.39)
CIE-LCHlch(41.95, 70.45, 328.90°)
OKLaboklab(52.55% 0.17 -0.1005)
OKLCHoklch(52.55% 0.198 329.4)
XYZxyz(22.6713, 12.4653, 34.4628)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FA0 #2FA433
analogous
#6E2FA4 #A42FA0 #A42F66
triadic
#A42FA0 #A0A42F #2FA0A4
tetradic
#A42FA0 #A46E2F #2FA433 #2F66A4
square
#A42FA0 #A46E2F #2FA433 #2F66A4
split-complementary
#A42FA0 #66A42F #2FA46E
monochromatic
#451443 #742172 #A42FA0 #CA46C6 #D876D4

Accessibility & contrast

On white

6.01
#A42FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A42FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FA0
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FA0#FFFFFF#000000##FFFFFF
##A42FA01.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#AA3F64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42fa0;
/* rgb */ color: rgb(164, 47, 160);
/* oklch */ color: oklch(52.5% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#c273bc',
    500: '#a42fa0',
    950: '#000000',
  },
}
SCSS
$custom: #a42fa0;
$custom-light: #c273bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fa0",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 302.051,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.19752,
    "h": 329.4
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#A42FA0
secondary
#6FC072
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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