#A5219A#A5219A

#A5219A is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.208 H 332.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A5219A
RGBrgb(165, 33, 154)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80%, 6.7%, 35.3%)
CIE-LABlab(40.28, 63.90, -35.40)
CIE-LCHlch(40.28, 73.05, 331.01°)
OKLaboklab(51.29% 0.1834 -0.0975)
OKLCHoklch(51.29% 0.208 332)
XYZxyz(21.8937, 11.4220, 31.6172)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5219A #21A52C
analogous
#6E21A5 #A5219A #A52158
triadic
#A5219A #9AA521 #219AA5
tetradic
#A5219A #A56E21 #21A52C #2158A5
square
#A5219A #A56E21 #21A52C #2158A5
split-complementary
#A5219A #58A521 #21A56E
monochromatic
#3F0D3B #72176A #A5219A #D52EC7 #DF61D5

Accessibility & contrast

On white

6.39
#A5219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A5219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5219A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5219A#FFFFFF#000000##FFFFFF
##A5219A1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539D
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#AC325D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5219a;
/* rgb */ color: rgb(165, 33, 154);
/* oklch */ color: oklch(51.3% 0.208 332.0);
Tailwind
colors: {
  custom: {
    50: '#c46db8',
    500: '#a5219a',
    950: '#000000',
  },
}
SCSS
$custom: #a5219a;
$custom-light: #c46db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5219a",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 305,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.20772,
    "h": 332
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#A5219A
secondary
#5EC466
accent
#EA4C3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5219A

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

Preview Lab → · Contrast checker → · Palette generator →

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