#7D116F#7D116F

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

Color values

HEX#7D116F
RGBrgb(125, 17, 111)
HSLhsl(308, 76%, 28%)
HSVhsv(308, 86%, 49%)
CMYKcmyk(0%, 86.4%, 11.2%, 51%)
CIE-LABlab(29.18, 52.74, -26.68)
CIE-LCHlch(29.18, 59.11, 333.16°)
OKLaboklab(41.23% 0.1538 -0.0732)
OKLCHoklch(41.23% 0.17 334.6)
XYZxyz(11.5273, 5.9096, 15.5694)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D116F #117D1F
analogous
#55117D #7D116F #7D1139
triadic
#7D116F #6F7D11 #116F7D
tetradic
#7D116F #7D5511 #117D1F #11397D
square
#7D116F #7D5511 #117D1F #11397D
split-complementary
#7D116F #397D11 #117D55
monochromatic
#1B0418 #470A3F #7D116F #B3189F #E227C9

Accessibility & contrast

On white

9.63
#7D116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D116F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D116F#FFFFFF#000000##FFFFFF
##7D116F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#831D41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d116f;
/* rgb */ color: rgb(125, 17, 111);
/* oklch */ color: oklch(41.2% 0.170 334.6);
Tailwind
colors: {
  custom: {
    50: '#a66098',
    500: '#7d116f',
    950: '#000000',
  },
}
SCSS
$custom: #7d116f;
$custom-light: #a66098;
$custom-dark: #000000;
JSON
{
  "hex": "#7d116f",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 307.778,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.17031,
    "h": 334.6
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#7D116F
secondary
#37B347
accent
#F34E35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D116F

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

Preview Lab → · Contrast checker → · Palette generator →

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