#7D1794#7D1794

#7D1794 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.194 H 319.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7D1794
RGBrgb(125, 23, 148)
HSLhsl(289, 73%, 34%)
HSVhsv(289, 84%, 58%)
CMYKcmyk(15.5%, 84.5%, 0%, 42%)
CIE-LABlab(32.06, 57.58, -45.28)
CIE-LCHlch(32.06, 73.26, 321.82°)
OKLaboklab(44.02% 0.1467 -0.1274)
OKLCHoklch(44.02% 0.194 319)
XYZxyz(14.1084, 7.1116, 28.6408)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1794 #2E9417
analogous
#3E1794 #7D1794 #94176C
triadic
#7D1794 #947D17 #17947D
tetradic
#7D1794 #943E17 #2E9417 #176C94
square
#7D1794 #943E17 #2E9417 #176C94
split-complementary
#7D1794 #6C9417 #17943E
monochromatic
#24072A #500F5F #7D1794 #AA1FC9 #C544E2

Accessibility & contrast

On white

8.67
#7D1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1794
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1794#FFFFFF#000000##FFFFFF
##7D17941.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#214F91
Tritanopia (blue-blind)
#7D3558
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1794;
/* rgb */ color: rgb(125, 23, 148);
/* oklch */ color: oklch(44.0% 0.194 319.0);
Tailwind
colors: {
  custom: {
    50: '#a764b4',
    500: '#7d1794',
    950: '#000000',
  },
}
SCSS
$custom: #7d1794;
$custom-light: #a764b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1794",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 288.96,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.19429,
    "h": 319
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#7D1794
secondary
#5BC344
accent
#F0385A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1794

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

Preview Lab → · Contrast checker → · Palette generator →

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