#7E1076#7E1076

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

Color values

HEX#7E1076
RGBrgb(126, 16, 118)
HSLhsl(304, 77%, 28%)
HSVhsv(304, 87%, 49%)
CMYKcmyk(0%, 87.3%, 6.3%, 50.6%)
CIE-LABlab(29.70, 54.26, -30.32)
CIE-LCHlch(29.70, 62.15, 330.80°)
OKLaboklab(41.76% 0.1555 -0.0836)
OKLCHoklch(41.76% 0.177 331.7)
XYZxyz(12.0595, 6.1153, 17.6812)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1076 #107E18
analogous
#4F107E #7E1076 #7E103F
triadic
#7E1076 #767E10 #10767E
tetradic
#7E1076 #7E4F10 #107E18 #103F7E
square
#7E1076 #7E4F10 #107E18 #103F7E
split-complementary
#7E1076 #3F7E10 #107E4F
monochromatic
#1B0319 #480943 #7E1076 #B417A9 #E325D5

Accessibility & contrast

On white

9.45
#7E1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1076
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1076#FFFFFF#000000##FFFFFF
##7E10761.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#842145
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1076;
/* rgb */ color: rgb(126, 16, 118);
/* oklch */ color: oklch(41.8% 0.177 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7609e',
    500: '#7e1076',
    950: '#000000',
  },
}
SCSS
$custom: #7e1076;
$custom-light: #a7609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1076",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 304.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.17658,
    "h": 331.7
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#7E1076
secondary
#36B43F
accent
#F44234
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1076

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

Preview Lab → · Contrast checker → · Palette generator →

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