#7C116D#7C116D

#7C116D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.168 H 335.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7C116D
RGBrgb(124, 17, 109)
HSLhsl(308, 76%, 28%)
HSVhsv(308, 86%, 49%)
CMYKcmyk(0%, 86.3%, 12.1%, 51.4%)
CIE-LABlab(28.88, 52.22, -25.89)
CIE-LCHlch(28.88, 58.28, 333.63°)
OKLaboklab(40.94% 0.1527 -0.0709)
OKLCHoklch(40.94% 0.168 335.1)
XYZxyz(11.2731, 5.7912, 14.9891)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C116D #117C20
analogous
#55117C #7C116D #7C1138
triadic
#7C116D #6D7C11 #116D7C
tetradic
#7C116D #7C5511 #117C20 #11387C
square
#7C116D #7C5511 #117C20 #11387C
split-complementary
#7C116D #387C11 #117C55
monochromatic
#1B0418 #460A3E #7C116D #B2189C #E126C7

Accessibility & contrast

On white

9.73
#7C116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C116D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C116D#FFFFFF#000000##FFFFFF
##7C116D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6F
Deuteranopia (green-blind)
#3B496B
Tritanopia (blue-blind)
#831D40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c116d;
/* rgb */ color: rgb(124, 17, 109);
/* oklch */ color: oklch(40.9% 0.168 335.1);
Tailwind
colors: {
  custom: {
    50: '#a66097',
    500: '#7c116d',
    950: '#000000',
  },
}
SCSS
$custom: #7c116d;
$custom-light: #a66097;
$custom-dark: #000000;
JSON
{
  "hex": "#7c116d",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 308.411,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.16838,
    "h": 335.1
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7C116D
secondary
#37B248
accent
#F25035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C116D

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

Preview Lab → · Contrast checker → · Palette generator →

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