#7C116F#7C116F

#7C116F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.170 H 334.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7C116F
RGBrgb(124, 17, 111)
HSLhsl(307, 76%, 28%)
HSVhsv(307, 86%, 49%)
CMYKcmyk(0%, 86.3%, 10.5%, 51.4%)
CIE-LABlab(28.99, 52.52, -27.00)
CIE-LCHlch(28.99, 59.05, 332.80°)
OKLaboklab(41.06% 0.1528 -0.0741)
OKLCHoklch(41.06% 0.17 334.1)
XYZxyz(11.3820, 5.8347, 15.5626)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C116F #117C1E
analogous
#54117C #7C116F #7C1139
triadic
#7C116F #6F7C11 #116F7C
tetradic
#7C116F #7C5411 #117C1E #11397C
square
#7C116F #7C5411 #117C1E #11397C
split-complementary
#7C116F #397C11 #117C54
monochromatic
#1B0418 #460A3F #7C116F #B2189F #E126CB

Accessibility & contrast

On white

9.69
#7C116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C116F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C116F#FFFFFF#000000##FFFFFF
##7C116F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B71
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#821E41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c116f;
/* rgb */ color: rgb(124, 17, 111);
/* oklch */ color: oklch(41.1% 0.170 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66098',
    500: '#7c116f',
    950: '#000000',
  },
}
SCSS
$custom: #7c116f;
$custom-light: #a66098;
$custom-dark: #000000;
JSON
{
  "hex": "#7c116f",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 307.29,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.1698,
    "h": 334.1
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#7C116F
secondary
#37B246
accent
#F24C35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C116F

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

Preview Lab → · Contrast checker → · Palette generator →

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