#A8219D#A8219D

#A8219D is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.211 H 331.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A8219D
RGBrgb(168, 33, 157)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 66%)
CMYKcmyk(0%, 80.4%, 6.5%, 34.1%)
CIE-LABlab(40.97, 64.99, -36.08)
CIE-LCHlch(40.97, 74.34, 330.96°)
OKLaboklab(51.93% 0.1865 -0.0994)
OKLCHoklch(51.93% 0.211 331.9)
XYZxyz(22.7782, 11.8488, 32.9791)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8219D #21A82C
analogous
#7021A8 #A8219D #A8215A
triadic
#A8219D #9DA821 #219DA8
tetradic
#A8219D #A87021 #21A82C #215AA8
square
#A8219D #A87021 #21A82C #215AA8
split-complementary
#A8219D #5AA821 #21A870
monochromatic
#420D3D #75176D #A8219D #D630C9 #E063D6

Accessibility & contrast

On white

6.23
#A8219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A8219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8219D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8219D#FFFFFF#000000##FFFFFF
##A8219D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AF335F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8219d;
/* rgb */ color: rgb(168, 33, 157);
/* oklch */ color: oklch(51.9% 0.211 331.9);
Tailwind
colors: {
  custom: {
    50: '#c66eba',
    500: '#a8219d',
    950: '#000000',
  },
}
SCSS
$custom: #a8219d;
$custom-light: #c66eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8219d",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 304.889,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.21131,
    "h": 331.9
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#A8219D
secondary
#5FC568
accent
#EA4C3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8219D

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

Preview Lab → · Contrast checker → · Palette generator →

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