#7D209E#7D209E

#7D209E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.195 H 315.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7D209E
RGBrgb(125, 32, 158)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 80%, 62%)
CMYKcmyk(20.9%, 79.7%, 0%, 38%)
CIE-LABlab(33.69, 56.87, -48.75)
CIE-LCHlch(33.69, 74.90, 319.40°)
OKLaboklab(45.39% 0.1381 -0.1376)
OKLCHoklch(45.39% 0.195 315.1)
XYZxyz(15.1445, 7.8622, 33.0609)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D209E #419E20
analogous
#3E209E #7D209E #9E2080
triadic
#7D209E #9E7D20 #209E7D
tetradic
#7D209E #9E3E20 #419E20 #20809E
square
#7D209E #9E3E20 #419E20 #20809E
split-complementary
#7D209E #809E20 #209E3E
monochromatic
#2C0B38 #55166B #7D209E #A52AD1 #BB5BDE

Accessibility & contrast

On white

8.16
#7D209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D209E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D209E#FFFFFF#000000##FFFFFF
##7D209E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#19529B
Tritanopia (blue-blind)
#7A3E5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d209e;
/* rgb */ color: rgb(125, 32, 158);
/* oklch */ color: oklch(45.4% 0.195 315.1);
Tailwind
colors: {
  custom: {
    50: '#a767bb',
    500: '#7d209e',
    950: '#000000',
  },
}
SCSS
$custom: #7d209e;
$custom-light: #a767bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d209e",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 284.286,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.19496,
    "h": 315.1
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#7D209E
secondary
#74C258
accent
#E93F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D209E

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

Preview Lab → · Contrast checker → · Palette generator →

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