#7E106E#7E106E

#7E106E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 335.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E106E
RGBrgb(126, 16, 110)
HSLhsl(309, 77%, 28%)
HSVhsv(309, 87%, 49%)
CMYKcmyk(0%, 87.3%, 12.7%, 50.6%)
CIE-LABlab(29.24, 53.03, -25.93)
CIE-LCHlch(29.24, 59.03, 333.94°)
OKLaboklab(41.29% 0.1554 -0.071)
OKLCHoklch(41.29% 0.171 335.5)
XYZxyz(11.6041, 5.9331, 15.2829)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E106E #107E20
analogous
#57107E #7E106E #7E1037
triadic
#7E106E #6E7E10 #106E7E
tetradic
#7E106E #7E5710 #107E20 #10377E
square
#7E106E #7E5710 #107E20 #10377E
split-complementary
#7E106E #377E10 #107E57
monochromatic
#1B0318 #48093F #7E106E #B4179D #E325C8

Accessibility & contrast

On white

9.60
#7E106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E106E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E106E#FFFFFF#000000##FFFFFF
##7E106E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#3C4A6C
Tritanopia (blue-blind)
#851C40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e106e;
/* rgb */ color: rgb(126, 16, 110);
/* oklch */ color: oklch(41.3% 0.171 335.5);
Tailwind
colors: {
  custom: {
    50: '#a76098',
    500: '#7e106e',
    950: '#000000',
  },
}
SCSS
$custom: #7e106e;
$custom-light: #a76098;
$custom-dark: #000000;
JSON
{
  "hex": "#7e106e",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 308.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.17086,
    "h": 335.5
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#7E106E
secondary
#36B448
accent
#F45034
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E106E

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

Preview Lab → · Contrast checker → · Palette generator →

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