#A4218F#A4218F

#A4218F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.200 H 335.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A4218F
RGBrgb(164, 33, 143)
HSLhsl(310, 66%, 39%)
HSVhsv(310, 80%, 64%)
CMYKcmyk(0%, 79.9%, 12.8%, 35.7%)
CIE-LABlab(39.52, 62.05, -29.93)
CIE-LCHlch(39.52, 68.89, 334.25°)
OKLaboklab(50.52% 0.182 -0.0817)
OKLCHoklch(50.52% 0.2 335.8)
XYZxyz(20.8120, 10.9653, 27.0017)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4218F #21A436
analogous
#7721A4 #A4218F #A4214D
triadic
#A4218F #8FA421 #218FA4
tetradic
#A4218F #A47721 #21A436 #214DA4
square
#A4218F #A47721 #21A436 #214DA4
split-complementary
#A4218F #4DA421 #21A477
monochromatic
#3E0C36 #711763 #A4218F #D52DBA #DF60CB

Accessibility & contrast

On white

6.58
#A4218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A4218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4218F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4218F#FFFFFF#000000##FFFFFF
##A4218F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#AD2C57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4218f;
/* rgb */ color: rgb(164, 33, 143);
/* oklch */ color: oklch(50.5% 0.200 335.8);
Tailwind
colors: {
  custom: {
    50: '#c36db0',
    500: '#a4218f',
    950: '#000000',
  },
}
SCSS
$custom: #a4218f;
$custom-light: #c36db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4218f",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 309.618,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.19952,
    "h": 335.8
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#A4218F
secondary
#5DC46D
accent
#E95A3E
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4218F

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

Preview Lab → · Contrast checker → · Palette generator →

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