#7D207E#7D207E

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

Color values

HEX#7D207E
RGBrgb(125, 32, 126)
HSLhsl(299, 59%, 31%)
HSVhsv(299, 75%, 49%)
CMYKcmyk(0.8%, 74.6%, 0%, 50.6%)
CIE-LABlab(31.58, 50.80, -32.40)
CIE-LCHlch(31.58, 60.26, 327.47°)
OKLaboklab(43.22% 0.1412 -0.0898)
OKLCHoklch(43.22% 0.167 327.5)
XYZxyz(12.7397, 6.9003, 20.3955)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D207E #217E20
analogous
#4E207E #7D207E #7E2050
triadic
#7D207E #7E7D20 #207E7D
tetradic
#7D207E #7E4E20 #217E20 #20507E
square
#7D207E #7E4E20 #217E20 #20507E
split-complementary
#7D207E #507E20 #207E4E
monochromatic
#1C071C #4D144D #7D207E #AD2CAF #CF48D0

Accessibility & contrast

On white

8.82
#7D207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D207E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D207E#FFFFFF#000000##FFFFFF
##7D207E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#812F4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d207e;
/* rgb */ color: rgb(125, 32, 126);
/* oklch */ color: oklch(43.2% 0.167 327.5);
Tailwind
colors: {
  custom: {
    50: '#a666a4',
    500: '#7d207e',
    950: '#000000',
  },
}
SCSS
$custom: #7d207e;
$custom-light: #a666a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d207e",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 299.362,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.16739,
    "h": 327.5
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#7D207E
secondary
#4AB149
accent
#E34547
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D207E

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

Preview Lab → · Contrast checker → · Palette generator →

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