#7E1078#7E1078

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

Color values

HEX#7E1078
RGBrgb(126, 16, 120)
HSLhsl(303, 77%, 28%)
HSVhsv(303, 87%, 49%)
CMYKcmyk(0%, 87.3%, 4.8%, 50.6%)
CIE-LABlab(29.82, 54.57, -31.40)
CIE-LCHlch(29.82, 62.96, 330.09°)
OKLaboklab(41.89% 0.1555 -0.0868)
OKLCHoklch(41.89% 0.178 330.8)
XYZxyz(12.1796, 6.1633, 18.3138)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1078 #107E16
analogous
#4D107E #7E1078 #7E1041
triadic
#7E1078 #787E10 #10787E
tetradic
#7E1078 #7E4D10 #107E16 #10417E
square
#7E1078 #7E4D10 #107E16 #10417E
split-complementary
#7E1078 #417E10 #107E4D
monochromatic
#1B031A #480944 #7E1078 #B417AC #E325D9

Accessibility & contrast

On white

9.41
#7E1078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1078
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1078#FFFFFF#000000##FFFFFF
##7E10781.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#832246
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1078;
/* rgb */ color: rgb(126, 16, 120);
/* oklch */ color: oklch(41.9% 0.178 330.8);
Tailwind
colors: {
  custom: {
    50: '#a7609f',
    500: '#7e1078',
    950: '#000000',
  },
}
SCSS
$custom: #7e1078;
$custom-light: #a7609f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1078",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 120
  },
  "hsl": {
    "h": 303.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.17805,
    "h": 330.8
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#7E1078
secondary
#36B43C
accent
#F43E34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1078

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

Preview Lab → · Contrast checker → · Palette generator →

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