#A7209E#A7209E

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

Color values

HEX#A7209E
RGBrgb(167, 32, 158)
HSLhsl(304, 68%, 39%)
HSVhsv(304, 81%, 65%)
CMYKcmyk(0%, 80.8%, 5.4%, 34.5%)
CIE-LABlab(40.77, 65.19, -37.03)
CIE-LCHlch(40.77, 74.97, 330.40°)
OKLaboklab(51.77% 0.1862 -0.1022)
OKLCHoklch(51.77% 0.212 331.2)
XYZxyz(22.6244, 11.7190, 33.4115)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7209E #20A729
analogous
#6D20A7 #A7209E #A7205B
triadic
#A7209E #9EA720 #209EA7
tetradic
#A7209E #A76D20 #20A729 #205BA7
square
#A7209E #A76D20 #20A729 #205BA7
split-complementary
#A7209E #5BA720 #20A76D
monochromatic
#400C3D #74166D #A7209E #D72DCC #E161D8

Accessibility & contrast

On white

6.28
#A7209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7209E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7209E#FFFFFF#000000##FFFFFF
##A7209E1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#AE3360
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7209e;
/* rgb */ color: rgb(167, 32, 158);
/* oklch */ color: oklch(51.8% 0.212 331.2);
Tailwind
colors: {
  custom: {
    50: '#c56ebb',
    500: '#a7209e',
    950: '#000000',
  },
}
SCSS
$custom: #a7209e;
$custom-light: #c56ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7209e",
  "rgb": {
    "r": 167,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 304,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.21239,
    "h": 331.2
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#A7209E
secondary
#5DC564
accent
#EB493D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7209E

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

Preview Lab → · Contrast checker → · Palette generator →

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