#7E1077#7E1077

#7E1077 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.177 H 331.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7E1077
RGBrgb(126, 16, 119)
HSLhsl(304, 77%, 28%)
HSVhsv(304, 87%, 49%)
CMYKcmyk(0%, 87.3%, 5.6%, 50.6%)
CIE-LABlab(29.76, 54.42, -30.86)
CIE-LCHlch(29.76, 62.56, 330.44°)
OKLaboklab(41.82% 0.1555 -0.0852)
OKLCHoklch(41.82% 0.177 331.3)
XYZxyz(12.1193, 6.1391, 17.9959)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1077 #107E17
analogous
#4E107E #7E1077 #7E1040
triadic
#7E1077 #777E10 #10777E
tetradic
#7E1077 #7E4E10 #107E17 #10407E
square
#7E1077 #7E4E10 #107E17 #10407E
split-complementary
#7E1077 #407E10 #107E4E
monochromatic
#1B031A #480944 #7E1077 #B417AA #E325D7

Accessibility & contrast

On white

9.43
#7E1077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1077
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1077#FFFFFF#000000##FFFFFF
##7E10771.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#832246
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1077;
/* rgb */ color: rgb(126, 16, 119);
/* oklch */ color: oklch(41.8% 0.177 331.3);
Tailwind
colors: {
  custom: {
    50: '#a7609e',
    500: '#7e1077',
    950: '#000000',
  },
}
SCSS
$custom: #7e1077;
$custom-light: #a7609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1077",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 119
  },
  "hsl": {
    "h": 303.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.17731,
    "h": 331.3
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#7E1077
secondary
#36B43E
accent
#F44034
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1077

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

Preview Lab → · Contrast checker → · Palette generator →

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