#7E1890#7E1890

#7E1890 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.191 H 320.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7E1890
RGBrgb(126, 24, 144)
HSLhsl(291, 71%, 33%)
HSVhsv(291, 83%, 56%)
CMYKcmyk(12.5%, 83.3%, 0%, 43.5%)
CIE-LABlab(32.04, 56.76, -42.85)
CIE-LCHlch(32.04, 71.12, 322.95°)
OKLaboklab(43.95% 0.1479 -0.1202)
OKLCHoklch(43.95% 0.191 320.9)
XYZxyz(13.9643, 7.1033, 27.0157)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1890 #2A9018
analogous
#421890 #7E1890 #901866
triadic
#7E1890 #907E18 #18907E
tetradic
#7E1890 #904218 #2A9018 #186690
square
#7E1890 #904218 #2A9018 #186690
split-complementary
#7E1890 #669018 #189042
monochromatic
#220727 #500F5C #7E1890 #AC21C4 #C843E0

Accessibility & contrast

On white

8.68
#7E1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1890
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1890#FFFFFF#000000##FFFFFF
##7E18901.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#7F3356
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1890;
/* rgb */ color: rgb(126, 24, 144);
/* oklch */ color: oklch(44.0% 0.191 320.9);
Tailwind
colors: {
  custom: {
    50: '#a764b1',
    500: '#7e1890',
    950: '#000000',
  },
}
SCSS
$custom: #7e1890;
$custom-light: #a764b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1890",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 291,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.19058,
    "h": 320.9
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#7E1890
secondary
#56C043
accent
#EE3A55
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1890

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

Preview Lab → · Contrast checker → · Palette generator →

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