#A42F93#A42F93

#A42F93 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.188 H 334.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A42F93
RGBrgb(164, 47, 147)
HSLhsl(309, 55%, 41%)
HSVhsv(309, 71%, 64%)
CMYKcmyk(0%, 71.3%, 10.4%, 35.7%)
CIE-LABlab(41.27, 58.24, -29.62)
CIE-LCHlch(41.27, 65.33, 333.04°)
OKLaboklab(51.84% 0.1693 -0.081)
OKLCHoklch(51.84% 0.188 334.4)
XYZxyz(21.5930, 12.0340, 28.7836)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F93 #2FA440
analogous
#7B2FA4 #A42F93 #A42F59
triadic
#A42F93 #93A42F #2F93A4
tetradic
#A42F93 #A47B2F #2FA440 #2F59A4
square
#A42F93 #A47B2F #2FA440 #2F59A4
split-complementary
#A42F93 #59A42F #2FA47B
monochromatic
#45143E #742168 #A42F93 #CA46B7 #D876C9

Accessibility & contrast

On white

6.16
#A42F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A42F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F93
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F93#FFFFFF#000000##FFFFFF
##A42F931.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#576790
Tritanopia (blue-blind)
#AC395D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42f93;
/* rgb */ color: rgb(164, 47, 147);
/* oklch */ color: oklch(51.8% 0.188 334.4);
Tailwind
colors: {
  custom: {
    50: '#c272b3',
    500: '#a42f93',
    950: '#000000',
  },
}
SCSS
$custom: #a42f93;
$custom-light: #c272b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f93",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 308.718,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.18762,
    "h": 334.4
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#A42F93
secondary
#6FC07B
accent
#DF5F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42F93

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

Preview Lab → · Contrast checker → · Palette generator →

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