#7C116E#7C116E

#7C116E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.169 H 334.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7C116E
RGBrgb(124, 17, 110)
HSLhsl(308, 76%, 28%)
HSVhsv(308, 86%, 49%)
CMYKcmyk(0%, 86.3%, 11.3%, 51.4%)
CIE-LABlab(28.94, 52.37, -26.45)
CIE-LCHlch(28.94, 58.67, 333.21°)
OKLaboklab(41% 0.1528 -0.0725)
OKLCHoklch(41% 0.169 334.6)
XYZxyz(11.3273, 5.8128, 15.2743)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C116E #117C1F
analogous
#54117C #7C116E #7C1139
triadic
#7C116E #6E7C11 #116E7C
tetradic
#7C116E #7C5411 #117C1F #11397C
square
#7C116E #7C5411 #117C1F #11397C
split-complementary
#7C116E #397C11 #117C54
monochromatic
#1B0418 #460A3E #7C116E #B2189E #E126C9

Accessibility & contrast

On white

9.71
#7C116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C116E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C116E#FFFFFF#000000##FFFFFF
##7C116E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A70
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#821D41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c116e;
/* rgb */ color: rgb(124, 17, 110);
/* oklch */ color: oklch(41.0% 0.169 334.6);
Tailwind
colors: {
  custom: {
    50: '#a66098',
    500: '#7c116e',
    950: '#000000',
  },
}
SCSS
$custom: #7c116e;
$custom-light: #a66098;
$custom-dark: #000000;
JSON
{
  "hex": "#7c116e",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 307.85,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40997,
    "c": 0.16908,
    "h": 334.6
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#7C116E
secondary
#37B247
accent
#F24E35
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C116E

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

Preview Lab → · Contrast checker → · Palette generator →

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