#7D116D#7D116D

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

Color values

HEX#7D116D
RGBrgb(125, 17, 109)
HSLhsl(309, 76%, 28%)
HSVhsv(309, 86%, 49%)
CMYKcmyk(0%, 86.4%, 12.8%, 51%)
CIE-LABlab(29.07, 52.44, -25.57)
CIE-LCHlch(29.07, 58.34, 334.00°)
OKLaboklab(41.11% 0.1537 -0.07)
OKLCHoklch(41.11% 0.169 335.5)
XYZxyz(11.4184, 5.8661, 14.9959)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D116D #117D21
analogous
#57117D #7D116D #7D1137
triadic
#7D116D #6D7D11 #116D7D
tetradic
#7D116D #7D5711 #117D21 #11377D
square
#7D116D #7D5711 #117D21 #11377D
split-complementary
#7D116D #377D11 #117D57
monochromatic
#1B0417 #470A3E #7D116D #B3189C #E227C6

Accessibility & contrast

On white

9.66
#7D116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D116D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D116D#FFFFFF#000000##FFFFFF
##7D116D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#841C40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d116d;
/* rgb */ color: rgb(125, 17, 109);
/* oklch */ color: oklch(41.1% 0.169 335.5);
Tailwind
colors: {
  custom: {
    50: '#a66097',
    500: '#7d116d',
    950: '#000000',
  },
}
SCSS
$custom: #7d116d;
$custom-light: #a66097;
$custom-dark: #000000;
JSON
{
  "hex": "#7d116d",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 308.889,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.1689,
    "h": 335.5
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D116D

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

Preview Lab → · Contrast checker → · Palette generator →

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