#7E1079#7E1079

#7E1079 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 330.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E1079
RGBrgb(126, 16, 121)
HSLhsl(303, 77%, 28%)
HSVhsv(303, 87%, 49%)
CMYKcmyk(0%, 87.3%, 4%, 50.6%)
CIE-LABlab(29.88, 54.73, -31.94)
CIE-LCHlch(29.88, 63.37, 329.74°)
OKLaboklab(41.95% 0.1554 -0.0883)
OKLCHoklch(41.95% 0.179 330.4)
XYZxyz(12.2406, 6.1877, 18.6351)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1079 #107E15
analogous
#4C107E #7E1079 #7E1042
triadic
#7E1079 #797E10 #10797E
tetradic
#7E1079 #7E4C10 #107E15 #10427E
square
#7E1079 #7E4C10 #107E15 #10427E
split-complementary
#7E1079 #427E10 #107E4C
monochromatic
#1B031A #480945 #7E1079 #B417AD #E325DB

Accessibility & contrast

On white

9.39
#7E1079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E1079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1079
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1079#FFFFFF#000000##FFFFFF
##7E10791.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#832347
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1079;
/* rgb */ color: rgb(126, 16, 121);
/* oklch */ color: oklch(41.9% 0.179 330.4);
Tailwind
colors: {
  custom: {
    50: '#a760a0',
    500: '#7e1079',
    950: '#000000',
  },
}
SCSS
$custom: #7e1079;
$custom-light: #a760a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1079",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 121
  },
  "hsl": {
    "h": 302.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.17879,
    "h": 330.4
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#7E1079
secondary
#36B43B
accent
#F43D34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E1079

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

Preview Lab → · Contrast checker → · Palette generator →

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