#7D209C#7D209C

#7D209C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.193 H 315.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7D209C
RGBrgb(125, 32, 156)
HSLhsl(285, 66%, 37%)
HSVhsv(285, 79%, 61%)
CMYKcmyk(19.9%, 79.5%, 0%, 38.8%)
CIE-LABlab(33.55, 56.47, -47.76)
CIE-LCHlch(33.55, 73.96, 319.77°)
OKLaboklab(45.25% 0.1384 -0.1348)
OKLCHoklch(45.25% 0.193 315.8)
XYZxyz(14.9738, 7.7939, 32.1617)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D209C #3F9C20
analogous
#3F209C #7D209C #9C207D
triadic
#7D209C #9C7D20 #209C7D
tetradic
#7D209C #9C3F20 #3F9C20 #207D9C
square
#7D209C #9C3F20 #3F9C20 #207D9C
split-complementary
#7D209C #7D9C20 #209C3F
monochromatic
#2C0B36 #541669 #7D209C #A62ACF #BC59DD

Accessibility & contrast

On white

8.21
#7D209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D209C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D209C#FFFFFF#000000##FFFFFF
##7D209C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#7B3D5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d209c;
/* rgb */ color: rgb(125, 32, 156);
/* oklch */ color: oklch(45.2% 0.193 315.8);
Tailwind
colors: {
  custom: {
    50: '#a767ba',
    500: '#7d209c',
    950: '#000000',
  },
}
SCSS
$custom: #7d209c;
$custom-light: #a767ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d209c",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 285,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.19318,
    "h": 315.8
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#7D209C
secondary
#71C157
accent
#E93F69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D209C

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

Preview Lab → · Contrast checker → · Palette generator →

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