#7E106F#7E106F

#7E106F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.172 H 335.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E106F
RGBrgb(126, 16, 111)
HSLhsl(308, 77%, 28%)
HSVhsv(308, 87%, 49%)
CMYKcmyk(0%, 87.3%, 11.9%, 50.6%)
CIE-LABlab(29.30, 53.18, -26.49)
CIE-LCHlch(29.30, 59.41, 333.52°)
OKLaboklab(41.35% 0.1555 -0.0726)
OKLCHoklch(41.35% 0.172 335)
XYZxyz(11.6589, 5.9550, 15.5712)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E106F #107E1F
analogous
#56107E #7E106F #7E1038
triadic
#7E106F #6F7E10 #106F7E
tetradic
#7E106F #7E5610 #107E1F #10387E
square
#7E106F #7E5610 #107E1F #10387E
split-complementary
#7E106F #387E10 #107E56
monochromatic
#1B0318 #48093F #7E106F #B4179F #E325C9

Accessibility & contrast

On white

9.59
#7E106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E106F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E106F#FFFFFF#000000##FFFFFF
##7E106F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#851C41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e106f;
/* rgb */ color: rgb(126, 16, 111);
/* oklch */ color: oklch(41.3% 0.172 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76098',
    500: '#7e106f',
    950: '#000000',
  },
}
SCSS
$custom: #7e106f;
$custom-light: #a76098;
$custom-dark: #000000;
JSON
{
  "hex": "#7e106f",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 308.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.17157,
    "h": 335
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#7E106F
secondary
#36B447
accent
#F44E34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7E106F

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

Preview Lab → · Contrast checker → · Palette generator →

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