#7E116F#7E116F

#7E116F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 335.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7E116F
RGBrgb(126, 17, 111)
HSLhsl(308, 76%, 28%)
HSVhsv(308, 87%, 49%)
CMYKcmyk(0%, 86.5%, 11.9%, 50.6%)
CIE-LABlab(29.38, 52.96, -26.37)
CIE-LCHlch(29.38, 59.16, 333.53°)
OKLaboklab(41.4% 0.1548 -0.0722)
OKLCHoklch(41.4% 0.171 335)
XYZxyz(11.6740, 5.9853, 15.5763)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E116F #117E20
analogous
#56117E #7E116F #7E1138
triadic
#7E116F #6F7E11 #116F7E
tetradic
#7E116F #7E5611 #117E20 #11387E
square
#7E116F #7E5611 #117E20 #11387E
split-complementary
#7E116F #387E11 #117E56
monochromatic
#1B0418 #480A3F #7E116F #B4189F #E227C8

Accessibility & contrast

On white

9.56
#7E116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E116F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E116F#FFFFFF#000000##FFFFFF
##7E116F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#851D41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e116f;
/* rgb */ color: rgb(126, 17, 111);
/* oklch */ color: oklch(41.4% 0.171 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76098',
    500: '#7e116f',
    950: '#000000',
  },
}
SCSS
$custom: #7e116f;
$custom-light: #a76098;
$custom-dark: #000000;
JSON
{
  "hex": "#7e116f",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 308.257,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.414,
    "c": 0.17082,
    "h": 335
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#7E116F
secondary
#37B448
accent
#F34F35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E116F

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

Preview Lab → · Contrast checker → · Palette generator →

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