#A8219B#A8219B

#A8219B is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.210 H 332.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A8219B
RGBrgb(168, 33, 155)
HSLhsl(306, 67%, 39%)
HSVhsv(306, 80%, 66%)
CMYKcmyk(0%, 80.4%, 7.7%, 34.1%)
CIE-LABlab(40.87, 64.69, -35.05)
CIE-LCHlch(40.87, 73.57, 331.55°)
OKLaboklab(51.82% 0.1864 -0.0964)
OKLCHoklch(51.82% 0.21 332.7)
XYZxyz(22.6088, 11.7811, 32.0872)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8219B #21A82E
analogous
#7221A8 #A8219B #A82158
triadic
#A8219B #9BA821 #219BA8
tetradic
#A8219B #A87221 #21A82E #2158A8
square
#A8219B #A87221 #21A82E #2158A8
split-complementary
#A8219B #58A821 #21A872
monochromatic
#420D3D #75176C #A8219B #D630C6 #E063D4

Accessibility & contrast

On white

6.26
#A8219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A8219B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8219B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8219B#FFFFFF#000000##FFFFFF
##A8219B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#B0325E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8219b;
/* rgb */ color: rgb(168, 33, 155);
/* oklch */ color: oklch(51.8% 0.210 332.7);
Tailwind
colors: {
  custom: {
    50: '#c66eb9',
    500: '#a8219b',
    950: '#000000',
  },
}
SCSS
$custom: #a8219b;
$custom-light: #c66eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8219b",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 305.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.2099,
    "h": 332.7
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#A8219B
secondary
#5FC569
accent
#EA4E3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8219B

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

Preview Lab → · Contrast checker → · Palette generator →

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