#7E1E93#7E1E93

#7E1E93 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.188 H 319.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7E1E93
RGBrgb(126, 30, 147)
HSLhsl(289, 66%, 35%)
HSVhsv(289, 80%, 58%)
CMYKcmyk(14.3%, 79.6%, 0%, 42.4%)
CIE-LABlab(32.86, 55.55, -43.38)
CIE-LCHlch(32.86, 70.48, 322.02°)
OKLaboklab(44.59% 0.1427 -0.1218)
OKLCHoklch(44.59% 0.188 319.5)
XYZxyz(14.3342, 7.4715, 28.2852)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E93 #33931E
analogous
#441E93 #7E1E93 #931E6E
triadic
#7E1E93 #937E1E #1E937E
tetradic
#7E1E93 #93441E #33931E #1E6E93
square
#7E1E93 #93441E #33931E #1E6E93
split-complementary
#7E1E93 #6E931E #1E9344
monochromatic
#27092D #521460 #7E1E93 #AA28C6 #C250DB

Accessibility & contrast

On white

8.42
#7E1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E93
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E93#FFFFFF#000000##FFFFFF
##7E1E931.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#285090
Tritanopia (blue-blind)
#7E3758
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e1e93;
/* rgb */ color: rgb(126, 30, 147);
/* oklch */ color: oklch(44.6% 0.188 319.5);
Tailwind
colors: {
  custom: {
    50: '#a766b3',
    500: '#7e1e93',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e93;
$custom-light: #a766b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e93",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 289.231,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.18768,
    "h": 319.5
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#7E1E93
secondary
#63BE4F
accent
#E93F5D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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