#7E106D#7E106D

#7E106D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.170 H 335.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E106D
RGBrgb(126, 16, 109)
HSLhsl(309, 77%, 28%)
HSVhsv(309, 87%, 49%)
CMYKcmyk(0%, 87.3%, 13.5%, 50.6%)
CIE-LABlab(29.19, 52.88, -25.38)
CIE-LCHlch(29.19, 58.66, 334.36°)
OKLaboklab(41.23% 0.1554 -0.0694)
OKLCHoklch(41.23% 0.17 335.9)
XYZxyz(11.5500, 5.9114, 14.9978)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E106D #107E21
analogous
#58107E #7E106D #7E1036
triadic
#7E106D #6D7E10 #106D7E
tetradic
#7E106D #7E5810 #107E21 #10367E
square
#7E106D #7E5810 #107E21 #10367E
split-complementary
#7E106D #367E10 #107E58
monochromatic
#1B0317 #48093E #7E106D #B4179C #E325C6

Accessibility & contrast

On white

9.62
#7E106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E106D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E106D#FFFFFF#000000##FFFFFF
##7E106D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#3D4A6B
Tritanopia (blue-blind)
#851B40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e106d;
/* rgb */ color: rgb(126, 16, 109);
/* oklch */ color: oklch(41.2% 0.170 335.9);
Tailwind
colors: {
  custom: {
    50: '#a76097',
    500: '#7e106d',
    950: '#000000',
  },
}
SCSS
$custom: #7e106d;
$custom-light: #a76097;
$custom-dark: #000000;
JSON
{
  "hex": "#7e106d",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 309.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.17017,
    "h": 335.9
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#7E106D
secondary
#36B449
accent
#F45234
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E106D

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

Preview Lab → · Contrast checker → · Palette generator →

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