#7E108D#7E108D

#7E108D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.3% C 0.194 H 322.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7E108D
RGBrgb(126, 16, 141)
HSLhsl(293, 80%, 31%)
HSVhsv(293, 89%, 55%)
CMYKcmyk(10.6%, 88.7%, 0%, 44.7%)
CIE-LABlab(31.18, 58.12, -42.37)
CIE-LCHlch(31.18, 71.92, 323.91°)
OKLaboklab(43.28% 0.1534 -0.1188)
OKLCHoklch(43.28% 0.194 322.2)
XYZxyz(13.5967, 6.7301, 25.7770)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E108D #1F8D10
analogous
#3F108D #7E108D #8D105D
triadic
#7E108D #8D7E10 #108D7E
tetradic
#7E108D #8D3F10 #1F8D10 #105D8D
square
#7E108D #8D3F10 #1F8D10 #105D8D
split-complementary
#7E108D #5D8D10 #108D3F
monochromatic
#1C041F #4D0A56 #7E108D #AF16C4 #D130E7

Accessibility & contrast

On white

8.95
#7E108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E108D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E108D#FFFFFF#000000##FFFFFF
##7E108D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#274D8A
Tritanopia (blue-blind)
#7F2E53
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e108d;
/* rgb */ color: rgb(126, 16, 141);
/* oklch */ color: oklch(43.3% 0.194 322.2);
Tailwind
colors: {
  custom: {
    50: '#a861af',
    500: '#7e108d',
    950: '#000000',
  },
}
SCSS
$custom: #7e108d;
$custom-light: #a861af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e108d",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 292.8,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.19401,
    "h": 322.2
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#7E108D
secondary
#48C237
accent
#F63249
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E108D

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

Preview Lab → · Contrast checker → · Palette generator →

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