#A5208F#A5208F

#A5208F is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.201 H 336.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A5208F
RGBrgb(165, 32, 143)
HSLhsl(310, 68%, 39%)
HSVhsv(310, 81%, 65%)
CMYKcmyk(0%, 80.6%, 13.3%, 35.3%)
CIE-LABlab(39.61, 62.53, -29.77)
CIE-LCHlch(39.61, 69.26, 334.54°)
OKLaboklab(50.62% 0.1838 -0.0813)
OKLCHoklch(50.62% 0.201 336.1)
XYZxyz(20.9919, 11.0175, 27.0023)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5208F #20A536
analogous
#7820A5 #A5208F #A5204C
triadic
#A5208F #8FA520 #208FA5
tetradic
#A5208F #A57820 #20A536 #204CA5
square
#A5208F #A57820 #20A536 #204CA5
split-complementary
#A5208F #4CA520 #20A578
monochromatic
#3E0C36 #721663 #A5208F #D62CBA #E05FCB

Accessibility & contrast

On white

6.56
#A5208F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A5208F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5208F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5208F#FFFFFF#000000##FFFFFF
##A5208F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5208f;
/* rgb */ color: rgb(165, 32, 143);
/* oklch */ color: oklch(50.6% 0.201 336.1);
Tailwind
colors: {
  custom: {
    50: '#c46db0',
    500: '#a5208f',
    950: '#000000',
  },
}
SCSS
$custom: #a5208f;
$custom-light: #c46db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5208f",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 309.925,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.20094,
    "h": 336.1
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#A5208F
secondary
#5CC56D
accent
#EA5A3D
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5208F

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

Preview Lab → · Contrast checker → · Palette generator →

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