#7D206E#7D206E

#7D206E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 335.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7D206E
RGBrgb(125, 32, 110)
HSLhsl(310, 59%, 31%)
HSVhsv(310, 74%, 49%)
CMYKcmyk(0%, 74.4%, 12%, 51%)
CIE-LABlab(30.69, 48.11, -23.68)
CIE-LCHlch(30.69, 53.62, 333.80°)
OKLaboklab(42.29% 0.1405 -0.0646)
OKLCHoklch(42.29% 0.155 335.3)
XYZxyz(11.7886, 6.5198, 15.3864)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D206E #207D2F
analogous
#5D207D #7D206E #7D203F
triadic
#7D206E #6E7D20 #206E7D
tetradic
#7D206E #7D5D20 #207D2F #203F7D
square
#7D206E #7D5D20 #207D2F #203F7D
split-complementary
#7D206E #3F7D20 #207D5D
monochromatic
#1C0718 #4C1443 #7D206E #AE2C99 #D047BA

Accessibility & contrast

On white

9.12
#7D206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D206E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D206E#FFFFFF#000000##FFFFFF
##7D206E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#832744
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d206e;
/* rgb */ color: rgb(125, 32, 110);
/* oklch */ color: oklch(42.3% 0.155 335.3);
Tailwind
colors: {
  custom: {
    50: '#a66598',
    500: '#7d206e',
    950: '#000000',
  },
}
SCSS
$custom: #7d206e;
$custom-light: #a66598;
$custom-dark: #000000;
JSON
{
  "hex": "#7d206e",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 309.677,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.15464,
    "h": 335.3
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#7D206E
secondary
#49B059
accent
#E25F45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D206E

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

Preview Lab → · Contrast checker → · Palette generator →

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