#7E1D79#7E1D79

#7E1D79 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 330.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1D79
RGBrgb(126, 29, 121)
HSLhsl(303, 63%, 30%)
HSVhsv(303, 77%, 49%)
CMYKcmyk(0%, 77%, 4%, 50.6%)
CIE-LABlab(31.10, 51.20, -30.00)
CIE-LCHlch(31.10, 59.34, 329.63°)
OKLaboklab(42.82% 0.1453 -0.0828)
OKLCHoklch(42.82% 0.167 330.3)
XYZxyz(12.4947, 6.6958, 18.7198)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D79 #1D7E22
analogous
#521D7E #7E1D79 #7E1D48
triadic
#7E1D79 #797E1D #1D797E
tetradic
#7E1D79 #7E521D #1D7E22 #1D487E
square
#7E1D79 #7E521D #1D7E22 #1D487E
split-complementary
#7E1D79 #487E1D #1D7E52
monochromatic
#1B0619 #4C1249 #7E1D79 #B028A9 #D342CC

Accessibility & contrast

On white

8.98
#7E1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D79
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D79#FFFFFF#000000##FFFFFF
##7E1D791.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#832A4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1d79;
/* rgb */ color: rgb(126, 29, 121);
/* oklch */ color: oklch(42.8% 0.167 330.3);
Tailwind
colors: {
  custom: {
    50: '#a765a0',
    500: '#7e1d79',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d79;
$custom-light: #a765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d79",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 303.093,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42819,
    "c": 0.1672,
    "h": 330.3
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#7E1D79
secondary
#45B14B
accent
#E64B42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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