#7D1E8F#7D1E8F

#7D1E8F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.184 H 320.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7D1E8F
RGBrgb(125, 30, 143)
HSLhsl(290, 65%, 34%)
HSVhsv(290, 79%, 56%)
CMYKcmyk(12.6%, 79%, 0%, 43.9%)
CIE-LABlab(32.42, 54.59, -41.63)
CIE-LCHlch(32.42, 68.65, 322.67°)
OKLaboklab(44.16% 0.142 -0.1167)
OKLCHoklch(44.16% 0.184 320.6)
XYZxyz(13.8791, 7.2724, 26.6539)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E8F #308F1E
analogous
#441E8F #7D1E8F #8F1E69
triadic
#7D1E8F #8F7D1E #1E8F7D
tetradic
#7D1E8F #8F441E #308F1E #1E698F
square
#7D1E8F #8F441E #308F1E #1E698F
split-complementary
#7D1E8F #698F1E #1E8F44
monochromatic
#25092A #51135C #7D1E8F #A929C2 #C34EDA

Accessibility & contrast

On white

8.56
#7D1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E8F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E8F#FFFFFF#000000##FFFFFF
##7D1E8F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#7E3656
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d1e8f;
/* rgb */ color: rgb(125, 30, 143);
/* oklch */ color: oklch(44.2% 0.184 320.6);
Tailwind
colors: {
  custom: {
    50: '#a666b0',
    500: '#7d1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e8f;
$custom-light: #a666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e8f",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 290.442,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44162,
    "c": 0.18385,
    "h": 320.6
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#7D1E8F
secondary
#5EBC4C
accent
#E8405A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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