#7E1E88#7E1E88

#7E1E88 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.178 H 323.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7E1E88
RGBrgb(126, 30, 136)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(7.4%, 77.9%, 0%, 46.7%)
CIE-LABlab(32.13, 53.50, -37.76)
CIE-LCHlch(32.13, 65.48, 324.79°)
OKLaboklab(43.84% 0.1439 -0.1054)
OKLCHoklch(43.84% 0.178 323.8)
XYZxyz(13.5120, 7.1426, 23.9547)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E88 #28881E
analogous
#491E88 #7E1E88 #881E5D
triadic
#7E1E88 #887E1E #1E887E
tetradic
#7E1E88 #88491E #28881E #1E5D88
square
#7E1E88 #88491E #28881E #1E5D88
split-complementary
#7E1E88 #5D881E #1E8849
monochromatic
#210824 #501356 #7E1E88 #AC29BA #CA49D7

Accessibility & contrast

On white

8.65
#7E1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E88
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E88#FFFFFF#000000##FFFFFF
##7E1E881.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#803252
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e1e88;
/* rgb */ color: rgb(126, 30, 136);
/* oklch */ color: oklch(43.8% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#a766ab',
    500: '#7e1e88',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e88;
$custom-light: #a766ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e88",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 294.34,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.17836,
    "h": 323.8
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#7E1E88
secondary
#53B949
accent
#E74151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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