#7E1889#7E1889

#7E1889 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.185 H 323.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E1889
RGBrgb(126, 24, 137)
HSLhsl(294, 70%, 32%)
HSVhsv(294, 82%, 54%)
CMYKcmyk(8%, 82.5%, 0%, 46.3%)
CIE-LABlab(31.57, 55.49, -39.27)
CIE-LCHlch(31.57, 67.98, 324.71°)
OKLaboklab(43.47% 0.1487 -0.1098)
OKLCHoklch(43.47% 0.185 323.6)
XYZxyz(13.4458, 6.8959, 24.2849)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1889 #238918
analogous
#461889 #7E1889 #89185C
triadic
#7E1889 #897E18 #18897E
tetradic
#7E1889 #894618 #238918 #185C89
square
#7E1889 #894618 #238918 #185C89
split-complementary
#7E1889 #5C8918 #188946
monochromatic
#1E0621 #4E0F55 #7E1889 #AE21BD #CE3EDD

Accessibility & contrast

On white

8.83
#7E1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1889
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1889#FFFFFF#000000##FFFFFF
##7E18891.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#803051
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e1889;
/* rgb */ color: rgb(126, 24, 137);
/* oklch */ color: oklch(43.5% 0.185 323.6);
Tailwind
colors: {
  custom: {
    50: '#a764ac',
    500: '#7e1889',
    950: '#000000',
  },
}
SCSS
$custom: #7e1889;
$custom-light: #a764ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1889",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 294.159,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43467,
    "c": 0.18487,
    "h": 323.6
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#7E1889
secondary
#4CBD40
accent
#ED3B4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1889

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

Preview Lab → · Contrast checker → · Palette generator →

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