#7D209A#7D209A

#7D209A is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.191 H 316.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7D209A
RGBrgb(125, 32, 154)
HSLhsl(286, 66%, 36%)
HSVhsv(286, 79%, 60%)
CMYKcmyk(18.8%, 79.2%, 0%, 39.6%)
CIE-LABlab(33.41, 56.07, -46.78)
CIE-LCHlch(33.41, 73.02, 320.16°)
OKLaboklab(45.1% 0.1388 -0.1319)
OKLCHoklch(45.1% 0.191 316.5)
XYZxyz(14.8058, 7.7267, 31.2771)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D209A #3D9A20
analogous
#40209A #7D209A #9A207A
triadic
#7D209A #9A7D20 #209A7D
tetradic
#7D209A #9A4020 #3D9A20 #207A9A
square
#7D209A #9A4020 #3D9A20 #207A9A
split-complementary
#7D209A #7A9A20 #209A40
monochromatic
#2B0B35 #541567 #7D209A #A62BCD #BD58DC

Accessibility & contrast

On white

8.25
#7D209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D209A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D209A#FFFFFF#000000##FFFFFF
##7D209A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#7B3C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d209a;
/* rgb */ color: rgb(125, 32, 154);
/* oklch */ color: oklch(45.1% 0.191 316.5);
Tailwind
colors: {
  custom: {
    50: '#a767b8',
    500: '#7d209a',
    950: '#000000',
  },
}
SCSS
$custom: #7d209a;
$custom-light: #a767b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d209a",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 285.738,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.19142,
    "h": 316.5
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#7D209A
secondary
#6FC056
accent
#E93F67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D209A

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

Preview Lab → · Contrast checker → · Palette generator →

#7D209A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva