#7E116E#7E116E

#7E116E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 335.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E116E
RGBrgb(126, 17, 110)
HSLhsl(309, 76%, 28%)
HSVhsv(309, 87%, 49%)
CMYKcmyk(0%, 86.5%, 12.7%, 50.6%)
CIE-LABlab(29.32, 52.81, -25.81)
CIE-LCHlch(29.32, 58.78, 333.95°)
OKLaboklab(41.34% 0.1548 -0.0706)
OKLCHoklch(41.34% 0.17 335.5)
XYZxyz(11.6193, 5.9634, 15.2879)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E116E #117E21
analogous
#57117E #7E116E #7E1138
triadic
#7E116E #6E7E11 #116E7E
tetradic
#7E116E #7E5711 #117E21 #11387E
square
#7E116E #7E5711 #117E21 #11387E
split-complementary
#7E116E #387E11 #117E57
monochromatic
#1B0418 #480A3F #7E116E #B4189D #E227C7

Accessibility & contrast

On white

9.58
#7E116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E116E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E116E#FFFFFF#000000##FFFFFF
##7E116E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#3C4B6C
Tritanopia (blue-blind)
#851C41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e116e;
/* rgb */ color: rgb(126, 17, 110);
/* oklch */ color: oklch(41.3% 0.170 335.5);
Tailwind
colors: {
  custom: {
    50: '#a76098',
    500: '#7e116e',
    950: '#000000',
  },
}
SCSS
$custom: #7e116e;
$custom-light: #a76098;
$custom-dark: #000000;
JSON
{
  "hex": "#7e116e",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 308.807,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.17012,
    "h": 335.5
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#7E116E
secondary
#37B449
accent
#F35135
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E116E

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

Preview Lab → · Contrast checker → · Palette generator →

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