#7D1E99#7D1E99

#7D1E99 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.192 H 316.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7D1E99
RGBrgb(125, 30, 153)
HSLhsl(286, 67%, 36%)
HSVhsv(286, 80%, 60%)
CMYKcmyk(18.3%, 80.4%, 0%, 40%)
CIE-LABlab(33.11, 56.52, -46.65)
CIE-LCHlch(33.11, 73.28, 320.47°)
OKLaboklab(44.87% 0.1406 -0.1315)
OKLCHoklch(44.87% 0.192 316.9)
XYZxyz(14.6706, 7.5891, 30.8229)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E99 #3A991E
analogous
#3F1E99 #7D1E99 #991E77
triadic
#7D1E99 #997D1E #1E997D
tetradic
#7D1E99 #993F1E #3A991E #1E7799
square
#7D1E99 #993F1E #3A991E #1E7799
split-complementary
#7D1E99 #77991E #1E993F
monochromatic
#290A33 #531466 #7D1E99 #A728CC #BE54DD

Accessibility & contrast

On white

8.34
#7D1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E99
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E99#FFFFFF#000000##FFFFFF
##7D1E991.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#1F5196
Tritanopia (blue-blind)
#7B3B5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d1e99;
/* rgb */ color: rgb(125, 30, 153);
/* oklch */ color: oklch(44.9% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#a766b8',
    500: '#7d1e99',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e99;
$custom-light: #a766b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e99",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 286.341,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.19247,
    "h": 316.9
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#7D1E99
secondary
#6BC152
accent
#EA3E65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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