#7E116D#7E116D

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

Color values

HEX#7E116D
RGBrgb(126, 17, 109)
HSLhsl(309, 76%, 28%)
HSVhsv(309, 87%, 49%)
CMYKcmyk(0%, 86.5%, 13.5%, 50.6%)
CIE-LABlab(29.27, 52.66, -25.26)
CIE-LCHlch(29.27, 58.40, 334.38°)
OKLaboklab(41.29% 0.1547 -0.069)
OKLCHoklch(41.29% 0.169 336)
XYZxyz(11.5652, 5.9418, 15.0028)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E116D #117E22
analogous
#58117E #7E116D #7E1136
triadic
#7E116D #6D7E11 #116D7E
tetradic
#7E116D #7E5811 #117E22 #11367E
square
#7E116D #7E5811 #117E22 #11367E
split-complementary
#7E116D #367E11 #117E58
monochromatic
#1B0417 #480A3E #7E116D #B4189C #E227C5

Accessibility & contrast

On white

9.60
#7E116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E116D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E116D#FFFFFF#000000##FFFFFF
##7E116D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B6F
Deuteranopia (green-blind)
#3D4B6B
Tritanopia (blue-blind)
#851C40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e116d;
/* rgb */ color: rgb(126, 17, 109);
/* oklch */ color: oklch(41.3% 0.169 336.0);
Tailwind
colors: {
  custom: {
    50: '#a76097',
    500: '#7e116d',
    950: '#000000',
  },
}
SCSS
$custom: #7e116d;
$custom-light: #a76097;
$custom-dark: #000000;
JSON
{
  "hex": "#7e116d",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 309.358,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.16942,
    "h": 336
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#7E116D
secondary
#37B44A
accent
#F35335
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E116D

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

Preview Lab → · Contrast checker → · Palette generator →

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