#7D116E#7D116E

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

Color values

HEX#7D116E
RGBrgb(125, 17, 110)
HSLhsl(308, 76%, 28%)
HSVhsv(308, 86%, 49%)
CMYKcmyk(0%, 86.4%, 12%, 51%)
CIE-LABlab(29.13, 52.59, -26.13)
CIE-LCHlch(29.13, 58.72, 333.58°)
OKLaboklab(41.17% 0.1538 -0.0716)
OKLCHoklch(41.17% 0.17 335)
XYZxyz(11.4725, 5.8877, 15.2811)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D116E #117D20
analogous
#56117D #7D116E #7D1138
triadic
#7D116E #6E7D11 #116E7D
tetradic
#7D116E #7D5611 #117D20 #11387D
square
#7D116E #7D5611 #117D20 #11387D
split-complementary
#7D116E #387D11 #117D56
monochromatic
#1B0418 #470A3F #7D116E #B3189D #E227C8

Accessibility & contrast

On white

9.64
#7D116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D116E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D116E#FFFFFF#000000##FFFFFF
##7D116E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#3C4A6C
Tritanopia (blue-blind)
#841D41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d116e;
/* rgb */ color: rgb(125, 17, 110);
/* oklch */ color: oklch(41.2% 0.170 335.0);
Tailwind
colors: {
  custom: {
    50: '#a66098',
    500: '#7d116e',
    950: '#000000',
  },
}
SCSS
$custom: #7d116e;
$custom-light: #a66098;
$custom-dark: #000000;
JSON
{
  "hex": "#7d116e",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 308.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.1696,
    "h": 335
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#7D116E
secondary
#37B348
accent
#F34F35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7D116E

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

Preview Lab → · Contrast checker → · Palette generator →

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