#7E116C#7E116C

#7E116C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.169 H 336.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E116C
RGBrgb(126, 17, 108)
HSLhsl(310, 76%, 28%)
HSVhsv(310, 87%, 49%)
CMYKcmyk(0%, 86.5%, 14.3%, 50.6%)
CIE-LABlab(29.21, 52.51, -24.70)
CIE-LCHlch(29.21, 58.03, 334.81°)
OKLaboklab(41.23% 0.1547 -0.0674)
OKLCHoklch(41.23% 0.169 336.4)
XYZxyz(11.5116, 5.9203, 14.7209)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E116C #117E23
analogous
#59117E #7E116C #7E1136
triadic
#7E116C #6C7E11 #116C7E
tetradic
#7E116C #7E5911 #117E23 #11367E
square
#7E116C #7E5911 #117E23 #11367E
split-complementary
#7E116C #367E11 #117E59
monochromatic
#1B0417 #480A3E #7E116C #B4189A #E227C3

Accessibility & contrast

On white

9.62
#7E116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E116C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E116C#FFFFFF#000000##FFFFFF
##7E116C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6E
Deuteranopia (green-blind)
#3D4A6A
Tritanopia (blue-blind)
#851B3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e116c;
/* rgb */ color: rgb(126, 17, 108);
/* oklch */ color: oklch(41.2% 0.169 336.4);
Tailwind
colors: {
  custom: {
    50: '#a76096',
    500: '#7e116c',
    950: '#000000',
  },
}
SCSS
$custom: #7e116c;
$custom-light: #a76096;
$custom-dark: #000000;
JSON
{
  "hex": "#7e116c",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 309.908,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41229,
    "c": 0.16872,
    "h": 336.4
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#7E116C
secondary
#37B44B
accent
#F35435
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E116C

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

Preview Lab → · Contrast checker → · Palette generator →

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