#7D209F#7D209F

#7D209F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.196 H 314.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7D209F
RGBrgb(125, 32, 159)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 80%, 62%)
CMYKcmyk(21.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(33.77, 57.07, -49.23)
CIE-LCHlch(33.77, 75.37, 319.21°)
OKLaboklab(45.47% 0.1379 -0.1391)
OKLCHoklch(45.47% 0.196 314.8)
XYZxyz(15.2309, 7.8968, 33.5161)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D209F #429F20
analogous
#3E209F #7D209F #9F2082
triadic
#7D209F #9F7D20 #209F7D
tetradic
#7D209F #9F3E20 #429F20 #20829F
square
#7D209F #9F3E20 #429F20 #20829F
split-complementary
#7D209F #829F20 #209F3E
monochromatic
#2D0B39 #55166C #7D209F #A52AD2 #BB5BDE

Accessibility & contrast

On white

8.14
#7D209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D209F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D209F#FFFFFF#000000##FFFFFF
##7D209F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#17529C
Tritanopia (blue-blind)
#7A3E60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d209f;
/* rgb */ color: rgb(125, 32, 159);
/* oklch */ color: oklch(45.5% 0.196 314.8);
Tailwind
colors: {
  custom: {
    50: '#a767bc',
    500: '#7d209f',
    950: '#000000',
  },
}
SCSS
$custom: #7d209f;
$custom-light: #a767bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d209f",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 283.937,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.19584,
    "h": 314.8
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#7D209F
secondary
#75C259
accent
#E93E6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D209F

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

Preview Lab → · Contrast checker → · Palette generator →

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