#7D1E96#7D1E96

#7D1E96 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.190 H 318.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7D1E96
RGBrgb(125, 30, 150)
HSLhsl(288, 67%, 35%)
HSVhsv(288, 80%, 59%)
CMYKcmyk(16.7%, 80%, 0%, 41.2%)
CIE-LABlab(32.90, 55.93, -45.15)
CIE-LCHlch(32.90, 71.89, 321.09°)
OKLaboklab(44.65% 0.1411 -0.1271)
OKLCHoklch(44.65% 0.19 318)
XYZxyz(14.4260, 7.4912, 29.5343)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E96 #37961E
analogous
#411E96 #7D1E96 #961E73
triadic
#7D1E96 #967D1E #1E967D
tetradic
#7D1E96 #96411E #37961E #1E7396
square
#7D1E96 #96411E #37961E #1E7396
split-complementary
#7D1E96 #73961E #1E9641
monochromatic
#280A30 #521463 #7D1E96 #A728C9 #C052DC

Accessibility & contrast

On white

8.41
#7D1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E96
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E96#FFFFFF#000000##FFFFFF
##7D1E961.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#7C395A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1e96;
/* rgb */ color: rgb(125, 30, 150);
/* oklch */ color: oklch(44.7% 0.190 318.0);
Tailwind
colors: {
  custom: {
    50: '#a766b5',
    500: '#7d1e96',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e96;
$custom-light: #a766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e96",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 287.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.18988,
    "h": 318
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#7D1E96
secondary
#67BF50
accent
#EA3E62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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