#A7209D#A7209D

#A7209D is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.212 H 331.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A7209D
RGBrgb(167, 32, 157)
HSLhsl(304, 68%, 39%)
HSVhsv(304, 81%, 65%)
CMYKcmyk(0%, 80.8%, 6%, 34.5%)
CIE-LABlab(40.71, 65.04, -36.51)
CIE-LCHlch(40.71, 74.59, 330.69°)
OKLaboklab(51.71% 0.1862 -0.1007)
OKLCHoklch(51.71% 0.212 331.6)
XYZxyz(22.5387, 11.6847, 32.9601)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7209D #20A72A
analogous
#6E20A7 #A7209D #A7205A
triadic
#A7209D #9DA720 #209DA7
tetradic
#A7209D #A76E20 #20A72A #205AA7
square
#A7209D #A76E20 #20A72A #205AA7
split-complementary
#A7209D #5AA720 #20A76E
monochromatic
#400C3C #74166D #A7209D #D72DCA #E161D7

Accessibility & contrast

On white

6.29
#A7209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A7209D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7209D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7209D#FFFFFF#000000##FFFFFF
##A7209D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#4F669A
Tritanopia (blue-blind)
#AE335F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7209d;
/* rgb */ color: rgb(167, 32, 157);
/* oklch */ color: oklch(51.7% 0.212 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56dba',
    500: '#a7209d',
    950: '#000000',
  },
}
SCSS
$custom: #a7209d;
$custom-light: #c56dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a7209d",
  "rgb": {
    "r": 167,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 304.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.21168,
    "h": 331.6
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#A7209D
secondary
#5DC565
accent
#EB4A3D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7209D

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

Preview Lab → · Contrast checker → · Palette generator →

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