#7D208D#7D208D

#7D208D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.180 H 321.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7D208D
RGBrgb(125, 32, 141)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 55%)
CMYKcmyk(11.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(32.52, 53.55, -40.24)
CIE-LCHlch(32.52, 66.98, 323.08°)
OKLaboklab(44.19% 0.1405 -0.1127)
OKLCHoklch(44.19% 0.18 321.3)
XYZxyz(13.7811, 7.3168, 25.8805)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D208D #308D20
analogous
#47208D #7D208D #8D2067
triadic
#7D208D #8D7D20 #208D7D
tetradic
#7D208D #8D4720 #308D20 #20678D
square
#7D208D #8D4720 #308D20 #20678D
split-complementary
#7D208D #678D20 #208D47
monochromatic
#250929 #51155B #7D208D #A92BBF #C350D7

Accessibility & contrast

On white

8.53
#7D208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D208D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D208D#FFFFFF#000000##FFFFFF
##7D208D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#7E3655
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d208d;
/* rgb */ color: rgb(125, 32, 141);
/* oklch */ color: oklch(44.2% 0.180 321.3);
Tailwind
colors: {
  custom: {
    50: '#a667af',
    500: '#7d208d',
    950: '#000000',
  },
}
SCSS
$custom: #7d208d;
$custom-light: #a667af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d208d",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 291.193,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44189,
    "c": 0.18008,
    "h": 321.3
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#7D208D
secondary
#5EBA4E
accent
#E6425A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D208D

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

Preview Lab → · Contrast checker → · Palette generator →

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