#7D209D#7D209D

#7D209D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.194 H 315.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7D209D
RGBrgb(125, 32, 157)
HSLhsl(285, 66%, 37%)
HSVhsv(285, 80%, 62%)
CMYKcmyk(20.4%, 79.6%, 0%, 38.4%)
CIE-LABlab(33.62, 56.67, -48.26)
CIE-LCHlch(33.62, 74.43, 319.58°)
OKLaboklab(45.32% 0.1383 -0.1362)
OKLCHoklch(45.32% 0.194 315.4)
XYZxyz(15.0588, 7.8279, 32.6095)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D209D #409D20
analogous
#3F209D #7D209D #9D207F
triadic
#7D209D #9D7D20 #209D7D
tetradic
#7D209D #9D3F20 #409D20 #207F9D
square
#7D209D #9D3F20 #409D20 #207F9D
split-complementary
#7D209D #7F9D20 #209D3F
monochromatic
#2C0B37 #55166A #7D209D #A52AD0 #BC5ADD

Accessibility & contrast

On white

8.19
#7D209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D209D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D209D#FFFFFF#000000##FFFFFF
##7D209D1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#7A3D5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d209d;
/* rgb */ color: rgb(125, 32, 157);
/* oklch */ color: oklch(45.3% 0.194 315.4);
Tailwind
colors: {
  custom: {
    50: '#a767bb',
    500: '#7d209d',
    950: '#000000',
  },
}
SCSS
$custom: #7d209d;
$custom-light: #a767bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d209d",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 284.64,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.19407,
    "h": 315.4
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#7D209D
secondary
#73C157
accent
#E93F6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D209D

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

Preview Lab → · Contrast checker → · Palette generator →

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