#7E1E89#7E1E89

#7E1E89 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.179 H 323.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7E1E89
RGBrgb(126, 30, 137)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 54%)
CMYKcmyk(8%, 78.1%, 0%, 46.3%)
CIE-LABlab(32.19, 53.68, -38.27)
CIE-LCHlch(32.19, 65.93, 324.51°)
OKLaboklab(43.91% 0.1438 -0.1069)
OKLCHoklch(43.91% 0.179 323.4)
XYZxyz(13.5834, 7.1711, 24.3308)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E89 #29891E
analogous
#491E89 #7E1E89 #891E5E
triadic
#7E1E89 #897E1E #1E897E
tetradic
#7E1E89 #89491E #29891E #1E5E89
square
#7E1E89 #89491E #29891E #1E5E89
split-complementary
#7E1E89 #5E891E #1E8949
monochromatic
#220825 #501357 #7E1E89 #AC29BB #C94AD7

Accessibility & contrast

On white

8.63
#7E1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E89
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E89#FFFFFF#000000##FFFFFF
##7E1E891.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#314F87
Tritanopia (blue-blind)
#803353
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e1e89;
/* rgb */ color: rgb(126, 30, 137);
/* oklch */ color: oklch(43.9% 0.179 323.4);
Tailwind
colors: {
  custom: {
    50: '#a766ac',
    500: '#7e1e89',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e89;
$custom-light: #a766ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e89",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 293.832,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43909,
    "c": 0.1792,
    "h": 323.4
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#7E1E89
secondary
#55BA49
accent
#E74152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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