#7D1D94#7D1D94

#7D1D94 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.189 H 318.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7D1D94
RGBrgb(125, 29, 148)
HSLhsl(288, 67%, 35%)
HSVhsv(288, 80%, 58%)
CMYKcmyk(15.5%, 80.4%, 0%, 42%)
CIE-LABlab(32.65, 55.86, -44.33)
CIE-LCHlch(32.65, 71.32, 321.57°)
OKLaboklab(44.44% 0.1422 -0.1247)
OKLCHoklch(44.44% 0.189 318.8)
XYZxyz(14.2414, 7.3775, 28.6851)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D94 #34941D
analogous
#411D94 #7D1D94 #941D70
triadic
#7D1D94 #947D1D #1D947D
tetradic
#7D1D94 #94411D #34941D #1D7094
square
#7D1D94 #94411D #34941D #1D7094
split-complementary
#7D1D94 #70941D #1D9441
monochromatic
#27092E #521361 #7D1D94 #A827C7 #C14FDC

Accessibility & contrast

On white

8.48
#7D1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D94
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D94#FFFFFF#000000##FFFFFF
##7D1D941.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#255091
Tritanopia (blue-blind)
#7D3859
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1d94;
/* rgb */ color: rgb(125, 29, 148);
/* oklch */ color: oklch(44.4% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#a766b4',
    500: '#7d1d94',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d94;
$custom-light: #a766b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d94",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 288.403,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.1891,
    "h": 318.8
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#7D1D94
secondary
#64BF4E
accent
#EA3E5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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