#7E106C#7E106C

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

Color values

HEX#7E106C
RGBrgb(126, 16, 108)
HSLhsl(310, 77%, 28%)
HSVhsv(310, 87%, 49%)
CMYKcmyk(0%, 87.3%, 14.3%, 50.6%)
CIE-LABlab(29.13, 52.73, -24.82)
CIE-LCHlch(29.13, 58.28, 334.79°)
OKLaboklab(41.17% 0.1553 -0.0678)
OKLCHoklch(41.17% 0.169 336.4)
XYZxyz(11.4965, 5.8900, 14.7159)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E106C #107E22
analogous
#59107E #7E106C #7E1035
triadic
#7E106C #6C7E10 #106C7E
tetradic
#7E106C #7E5910 #107E22 #10357E
square
#7E106C #7E5910 #107E22 #10357E
split-complementary
#7E106C #357E10 #107E59
monochromatic
#1B0317 #48093D #7E106C #B4179B #E325C4

Accessibility & contrast

On white

9.64
#7E106C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E106C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E106C#FFFFFF#000000##FFFFFF
##7E106C1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#3D4A6A
Tritanopia (blue-blind)
#851A3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e106c;
/* rgb */ color: rgb(126, 16, 108);
/* oklch */ color: oklch(41.2% 0.169 336.4);
Tailwind
colors: {
  custom: {
    50: '#a76096',
    500: '#7e106c',
    950: '#000000',
  },
}
SCSS
$custom: #7e106c;
$custom-light: #a76096;
$custom-dark: #000000;
JSON
{
  "hex": "#7e106c",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 108
  },
  "hsl": {
    "h": 309.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.16947,
    "h": 336.4
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#7E106C
secondary
#36B44A
accent
#F45334
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E106C

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

Preview Lab → · Contrast checker → · Palette generator →

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