#7D1E80#7D1E80

#7D1E80 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.171 H 326.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7D1E80
RGBrgb(125, 30, 128)
HSLhsl(298, 62%, 31%)
HSVhsv(298, 77%, 50%)
CMYKcmyk(2.3%, 76.6%, 0%, 49.8%)
CIE-LABlab(31.46, 51.85, -33.85)
CIE-LCHlch(31.46, 61.92, 326.86°)
OKLaboklab(43.17% 0.1431 -0.094)
OKLCHoklch(43.17% 0.171 326.7)
XYZxyz(12.8178, 6.8479, 21.0646)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E80 #21801E
analogous
#4C1E80 #7D1E80 #801E52
triadic
#7D1E80 #807D1E #1E807D
tetradic
#7D1E80 #804C1E #21801E #1E5280
square
#7D1E80 #804C1E #21801E #1E5280
split-complementary
#7D1E80 #52801E #1E804C
monochromatic
#1C071D #4D124E #7D1E80 #AD2AB2 #CF45D3

Accessibility & contrast

On white

8.86
#7D1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E80
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E80#FFFFFF#000000##FFFFFF
##7D1E801.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024283
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#812E4E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1e80;
/* rgb */ color: rgb(125, 30, 128);
/* oklch */ color: oklch(43.2% 0.171 326.7);
Tailwind
colors: {
  custom: {
    50: '#a665a5',
    500: '#7d1e80',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e80;
$custom-light: #a665a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e80",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 298.163,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43172,
    "c": 0.17126,
    "h": 326.7
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#7D1E80
secondary
#4AB347
accent
#E54348
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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