#7E2079#7E2079

#7E2079 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.164 H 330.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7E2079
RGBrgb(126, 32, 121)
HSLhsl(303, 59%, 31%)
HSVhsv(303, 75%, 49%)
CMYKcmyk(0%, 74.6%, 4%, 50.6%)
CIE-LABlab(31.46, 50.17, -29.43)
CIE-LCHlch(31.46, 58.17, 329.61°)
OKLaboklab(43.08% 0.1423 -0.0812)
OKLCHoklch(43.08% 0.164 330.3)
XYZxyz(12.5718, 6.8501, 18.7455)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2079 #207E25
analogous
#54207E #7E2079 #7E204A
triadic
#7E2079 #797E20 #20797E
tetradic
#7E2079 #7E5420 #207E25 #204A7E
square
#7E2079 #7E5420 #207E25 #204A7E
split-complementary
#7E2079 #4A7E20 #207E54
monochromatic
#1C071B #4D144A #7E2079 #AF2CA8 #D048C9

Accessibility & contrast

On white

8.86
#7E2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2079
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2079#FFFFFF#000000##FFFFFF
##7E20791.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#3C4F77
Tritanopia (blue-blind)
#832C4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2079;
/* rgb */ color: rgb(126, 32, 121);
/* oklch */ color: oklch(43.1% 0.164 330.3);
Tailwind
colors: {
  custom: {
    50: '#a766a0',
    500: '#7e2079',
    950: '#000000',
  },
}
SCSS
$custom: #7e2079;
$custom-light: #a766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2079",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 303.191,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.16384,
    "h": 330.3
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#7E2079
secondary
#49B14E
accent
#E34E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E2079

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

Preview Lab → · Contrast checker → · Palette generator →

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