#7F116E#7F116E

#7F116E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.171 H 335.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7F116E
RGBrgb(127, 17, 110)
HSLhsl(309, 76%, 28%)
HSVhsv(309, 87%, 50%)
CMYKcmyk(0%, 86.6%, 13.4%, 50.2%)
CIE-LABlab(29.51, 53.03, -25.50)
CIE-LCHlch(29.51, 58.84, 334.32°)
OKLaboklab(41.52% 0.1558 -0.0697)
OKLCHoklch(41.52% 0.171 335.9)
XYZxyz(11.7675, 6.0398, 15.2949)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F116E #117F22
analogous
#59117F #7F116E #7F1137
triadic
#7F116E #6E7F11 #116E7F
tetradic
#7F116E #7F5911 #117F22 #11377F
square
#7F116E #7F5911 #117F22 #11377F
split-complementary
#7F116E #377F11 #117F59
monochromatic
#1B0417 #490A3F #7F116E #B5189D #E228C5

Accessibility & contrast

On white

9.51
#7F116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F116E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F116E#FFFFFF#000000##FFFFFF
##7F116E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#861C41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f116e;
/* rgb */ color: rgb(127, 17, 110);
/* oklch */ color: oklch(41.5% 0.171 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86098',
    500: '#7f116e',
    950: '#000000',
  },
}
SCSS
$custom: #7f116e;
$custom-light: #a86098;
$custom-dark: #000000;
JSON
{
  "hex": "#7f116e",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 309.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41516,
    "c": 0.17064,
    "h": 335.9
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#7F116E
secondary
#37B54A
accent
#F35235
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7F116E

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

Preview Lab → · Contrast checker → · Palette generator →

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