#7D116C#7D116C

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

Color values

HEX#7D116C
RGBrgb(125, 17, 108)
HSLhsl(309, 76%, 28%)
HSVhsv(309, 86%, 49%)
CMYKcmyk(0%, 86.4%, 13.6%, 51%)
CIE-LABlab(29.02, 52.29, -25.02)
CIE-LCHlch(29.02, 57.96, 334.43°)
OKLaboklab(41.06% 0.1537 -0.0684)
OKLCHoklch(41.06% 0.168 336)
XYZxyz(11.3649, 5.8447, 14.7140)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D116C #117D22
analogous
#58117D #7D116C #7D1136
triadic
#7D116C #6C7D11 #116C7D
tetradic
#7D116C #7D5811 #117D22 #11367D
square
#7D116C #7D5811 #117D22 #11367D
split-complementary
#7D116C #367D11 #117D58
monochromatic
#1B0417 #470A3D #7D116C #B3189B #E227C4

Accessibility & contrast

On white

9.68
#7D116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D116C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D116C#FFFFFF#000000##FFFFFF
##7D116C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#3D4A6A
Tritanopia (blue-blind)
#841B3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d116c;
/* rgb */ color: rgb(125, 17, 108);
/* oklch */ color: oklch(41.1% 0.168 336.0);
Tailwind
colors: {
  custom: {
    50: '#a66096',
    500: '#7d116c',
    950: '#000000',
  },
}
SCSS
$custom: #7d116c;
$custom-light: #a66096;
$custom-dark: #000000;
JSON
{
  "hex": "#7d116c",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 309.444,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.16819,
    "h": 336
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#7D116C
secondary
#37B34A
accent
#F35335
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7D116C

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

Preview Lab → · Contrast checker → · Palette generator →

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