#7D1E8D#7D1E8D

#7D1E8D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 321.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7D1E8D
RGBrgb(125, 30, 141)
HSLhsl(291, 65%, 34%)
HSVhsv(291, 79%, 55%)
CMYKcmyk(11.3%, 78.7%, 0%, 44.7%)
CIE-LABlab(32.29, 54.22, -40.61)
CIE-LCHlch(32.29, 67.74, 323.16°)
OKLaboklab(44.03% 0.1422 -0.1138)
OKLCHoklch(44.03% 0.182 321.3)
XYZxyz(13.7289, 7.2124, 25.8631)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E8D #2E8D1E
analogous
#451E8D #7D1E8D #8D1E65
triadic
#7D1E8D #8D7D1E #1E8D7D
tetradic
#7D1E8D #8D451E #2E8D1E #1E658D
square
#7D1E8D #8D451E #2E8D1E #1E658D
split-complementary
#7D1E8D #658D1E #1E8D45
monochromatic
#240928 #50135B #7D1E8D #AA29BF #C54CD9

Accessibility & contrast

On white

8.60
#7D1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E8D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E8D#FFFFFF#000000##FFFFFF
##7D1E8D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#2D4F8B
Tritanopia (blue-blind)
#7E3555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1e8d;
/* rgb */ color: rgb(125, 30, 141);
/* oklch */ color: oklch(44.0% 0.182 321.3);
Tailwind
colors: {
  custom: {
    50: '#a666af',
    500: '#7d1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e8d;
$custom-light: #a666af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e8d",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 291.351,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.18215,
    "h": 321.3
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#7D1E8D
secondary
#5BBC4B
accent
#E84058
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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