#7D208C#7D208C

#7D208C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.179 H 321.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7D208C
RGBrgb(125, 32, 140)
HSLhsl(292, 63%, 34%)
HSVhsv(292, 77%, 55%)
CMYKcmyk(10.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(32.45, 53.36, -39.73)
CIE-LCHlch(32.45, 66.52, 323.33°)
OKLaboklab(44.12% 0.1406 -0.1112)
OKLCHoklch(44.12% 0.179 321.7)
XYZxyz(13.7071, 7.2872, 25.4904)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D208C #2F8C20
analogous
#47208C #7D208C #8C2065
triadic
#7D208C #8C7D20 #208C7D
tetradic
#7D208C #8C4720 #2F8C20 #20658C
square
#7D208C #8C4720 #2F8C20 #20658C
split-complementary
#7D208C #658C20 #208C47
monochromatic
#240928 #51155A #7D208C #A92BBE #C450D7

Accessibility & contrast

On white

8.55
#7D208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D208C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D208C#FFFFFF#000000##FFFFFF
##7D208C1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#7E3555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d208c;
/* rgb */ color: rgb(125, 32, 140);
/* oklch */ color: oklch(44.1% 0.179 321.7);
Tailwind
colors: {
  custom: {
    50: '#a666ae',
    500: '#7d208c',
    950: '#000000',
  },
}
SCSS
$custom: #7d208c;
$custom-light: #a666ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d208c",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 291.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.17921,
    "h": 321.7
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#7D208C
secondary
#5DBA4E
accent
#E64259
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D208C

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

Preview Lab → · Contrast checker → · Palette generator →

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