#7E1E84#7E1E84

#7E1E84 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.175 H 325.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7E1E84
RGBrgb(126, 30, 132)
HSLhsl(296, 63%, 32%)
HSVhsv(296, 77%, 52%)
CMYKcmyk(4.5%, 77.3%, 0%, 48.2%)
CIE-LABlab(31.88, 52.78, -35.67)
CIE-LCHlch(31.88, 63.70, 325.95°)
OKLaboklab(43.58% 0.1441 -0.0993)
OKLCHoklch(43.58% 0.175 325.4)
XYZxyz(13.2330, 7.0310, 22.4854)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E84 #24841E
analogous
#4B1E84 #7E1E84 #841E57
triadic
#7E1E84 #847E1E #1E847E
tetradic
#7E1E84 #844B1E #24841E #1E5784
square
#7E1E84 #844B1E #24841E #1E5784
split-complementary
#7E1E84 #57841E #1E844B
monochromatic
#1F0720 #4E1352 #7E1E84 #AE29B6 #CD47D5

Accessibility & contrast

On white

8.73
#7E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E84
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E84#FFFFFF#000000##FFFFFF
##7E1E841.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#813050
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1e84;
/* rgb */ color: rgb(126, 30, 132);
/* oklch */ color: oklch(43.6% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#a765a8',
    500: '#7e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e84;
$custom-light: #a765a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e84",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 296.471,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.17503,
    "h": 325.4
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#7E1E84
secondary
#4EB747
accent
#E6424B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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