#7D1E84#7D1E84

#7D1E84 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.175 H 325.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7D1E84
RGBrgb(125, 30, 132)
HSLhsl(296, 63%, 32%)
HSVhsv(296, 77%, 52%)
CMYKcmyk(5.3%, 77.3%, 0%, 48.2%)
CIE-LABlab(31.70, 52.56, -35.95)
CIE-LCHlch(31.70, 63.68, 325.63°)
OKLaboklab(43.43% 0.143 -0.1002)
OKLCHoklch(43.43% 0.175 325)
XYZxyz(13.0863, 6.9553, 22.4786)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E84 #25841E
analogous
#4A1E84 #7D1E84 #841E58
triadic
#7D1E84 #847D1E #1E847D
tetradic
#7D1E84 #844A1E #25841E #1E5884
square
#7D1E84 #844A1E #25841E #1E5884
split-complementary
#7D1E84 #58841E #1E844A
monochromatic
#1F0720 #4E1352 #7D1E84 #AC29B6 #CB47D5

Accessibility & contrast

On white

8.78
#7D1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E84
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E84#FFFFFF#000000##FFFFFF
##7D1E841.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#344E82
Tritanopia (blue-blind)
#803050
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1e84;
/* rgb */ color: rgb(125, 30, 132);
/* oklch */ color: oklch(43.4% 0.175 325.0);
Tailwind
colors: {
  custom: {
    50: '#a665a8',
    500: '#7d1e84',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e84;
$custom-light: #a665a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e84",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 295.882,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.17456,
    "h": 325
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#7D1E84
secondary
#4FB747
accent
#E6424D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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