#7D207D#7D207D

#7D207D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.167 H 328.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7D207D
RGBrgb(125, 32, 125)
HSLhsl(300, 59%, 31%)
HSVhsv(300, 74%, 49%)
CMYKcmyk(0%, 74.4%, 0%, 51%)
CIE-LABlab(31.52, 50.63, -31.87)
CIE-LCHlch(31.52, 59.82, 327.81°)
OKLaboklab(43.16% 0.1412 -0.0883)
OKLCHoklch(43.16% 0.167 328)
XYZxyz(12.6755, 6.8746, 20.0574)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D207D #207D20
analogous
#4E207D #7D207D #7D204E
triadic
#7D207D #7D7D20 #207D7D
tetradic
#7D207D #7D4E20 #207D20 #204E7D
square
#7D207D #7D4E20 #207D20 #204E7D
split-complementary
#7D207D #4E7D20 #207D4E
monochromatic
#1C071C #4C144C #7D207D #AE2CAE #D047D0

Accessibility & contrast

On white

8.84
#7D207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D207D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D207D#FFFFFF#000000##FFFFFF
##7D207D1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4280
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#812E4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d207d;
/* rgb */ color: rgb(125, 32, 125);
/* oklch */ color: oklch(43.2% 0.167 328.0);
Tailwind
colors: {
  custom: {
    50: '#a666a3',
    500: '#7d207d',
    950: '#000000',
  },
}
SCSS
$custom: #7d207d;
$custom-light: #a666a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d207d",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.16656,
    "h": 328
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#7D207D
secondary
#49B049
accent
#E24545
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D207D

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

Preview Lab → · Contrast checker → · Palette generator →

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