#A42FA3#A42FA3

#A42FA3 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 328.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A42FA3
RGBrgb(164, 47, 163)
HSLhsl(301, 55%, 41%)
HSVhsv(301, 71%, 64%)
CMYKcmyk(0%, 71.3%, 0.6%, 35.7%)
CIE-LABlab(42.11, 60.82, -37.93)
CIE-LCHlch(42.11, 71.68, 328.05°)
OKLaboklab(52.72% 0.1701 -0.105)
OKLCHoklch(52.72% 0.2 328.3)
XYZxyz(22.9370, 12.5715, 35.8617)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FA3 #2FA430
analogous
#6B2FA4 #A42FA3 #A42F69
triadic
#A42FA3 #A3A42F #2FA3A4
tetradic
#A42FA3 #A46B2F #2FA430 #2F69A4
square
#A42FA3 #A46B2F #2FA430 #2F69A4
split-complementary
#A42FA3 #69A42F #2FA46B
monochromatic
#451444 #742174 #A42FA3 #CA46C9 #D876D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42FA3#FFFFFF#000000##FFFFFF
##A42FA31.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)
#1C5AA6
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#A94066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42fa3;
/* rgb */ color: rgb(164, 47, 163);
/* oklch */ color: oklch(52.7% 0.200 328.3);
Tailwind
colors: {
  custom: {
    50: '#c273bf',
    500: '#a42fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a42fa3;
$custom-light: #c273bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fa3",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 300.513,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.19988,
    "h": 328.3
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#A42FA3
secondary
#6FC070
accent
#DF4A49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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