#7F116D#7F116D

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

Color values

HEX#7F116D
RGBrgb(127, 17, 109)
HSLhsl(310, 76%, 28%)
HSVhsv(310, 87%, 50%)
CMYKcmyk(0%, 86.6%, 14.2%, 50.2%)
CIE-LABlab(29.46, 52.88, -24.94)
CIE-LCHlch(29.46, 58.46, 334.75°)
OKLaboklab(41.46% 0.1557 -0.0681)
OKLCHoklch(41.46% 0.17 336.4)
XYZxyz(11.7134, 6.0182, 15.0098)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F116D #117F23
analogous
#5A117F #7F116D #7F1136
triadic
#7F116D #6D7F11 #116D7F
tetradic
#7F116D #7F5A11 #117F23 #11367F
square
#7F116D #7F5A11 #117F23 #11367F
split-complementary
#7F116D #367F11 #117F5A
monochromatic
#1B0417 #490A3F #7F116D #B5189B #E228C4

Accessibility & contrast

On white

9.53
#7F116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F116D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F116D#FFFFFF#000000##FFFFFF
##7F116D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#861B40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f116d;
/* rgb */ color: rgb(127, 17, 109);
/* oklch */ color: oklch(41.5% 0.170 336.4);
Tailwind
colors: {
  custom: {
    50: '#a86097',
    500: '#7f116d',
    950: '#000000',
  },
}
SCSS
$custom: #7f116d;
$custom-light: #a86097;
$custom-dark: #000000;
JSON
{
  "hex": "#7f116d",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 309.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.16995,
    "h": 336.4
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#7F116D
secondary
#37B54B
accent
#F35435
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F116D

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

Preview Lab → · Contrast checker → · Palette generator →

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