#7D2078#7D2078

#7D2078 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.162 H 330.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7D2078
RGBrgb(125, 32, 120)
HSLhsl(303, 59%, 31%)
HSVhsv(303, 74%, 49%)
CMYKcmyk(0%, 74.4%, 4%, 51%)
CIE-LABlab(31.23, 49.76, -29.18)
CIE-LCHlch(31.23, 57.69, 329.62°)
OKLaboklab(42.86% 0.1412 -0.0805)
OKLCHoklch(42.86% 0.162 330.3)
XYZxyz(12.3641, 6.7500, 18.4173)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2078 #207D25
analogous
#53207D #7D2078 #7D2049
triadic
#7D2078 #787D20 #20787D
tetradic
#7D2078 #7D5320 #207D25 #20497D
square
#7D2078 #7D5320 #207D25 #20497D
split-complementary
#7D2078 #497D20 #207D53
monochromatic
#1C071A #4C1449 #7D2078 #AE2CA7 #D047C9

Accessibility & contrast

On white

8.94
#7D2078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2078
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2078#FFFFFF#000000##FFFFFF
##7D20781.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#822C4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2078;
/* rgb */ color: rgb(125, 32, 120);
/* oklch */ color: oklch(42.9% 0.162 330.3);
Tailwind
colors: {
  custom: {
    50: '#a6669f',
    500: '#7d2078',
    950: '#000000',
  },
}
SCSS
$custom: #7d2078;
$custom-light: #a6669f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2078",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 303.226,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.16249,
    "h": 330.3
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#7D2078
secondary
#49B04E
accent
#E24E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2078

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

Preview Lab → · Contrast checker → · Palette generator →

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