#7E2091#7E2091

#7E2091 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.184 H 320.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7E2091
RGBrgb(126, 32, 145)
HSLhsl(290, 64%, 35%)
HSVhsv(290, 78%, 57%)
CMYKcmyk(13.1%, 77.9%, 0%, 43.1%)
CIE-LABlab(32.95, 54.52, -42.00)
CIE-LCHlch(32.95, 68.82, 322.39°)
OKLaboklab(44.61% 0.1413 -0.1178)
OKLCHoklch(44.61% 0.184 320.2)
XYZxyz(14.2309, 7.5137, 27.4833)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2091 #339120
analogous
#462091 #7E2091 #91206B
triadic
#7E2091 #917E20 #20917E
tetradic
#7E2091 #914620 #339120 #206B91
square
#7E2091 #914620 #339120 #206B91
split-complementary
#7E2091 #6B9120 #209146
monochromatic
#270A2D #52155F #7E2091 #AA2BC3 #C252D9

Accessibility & contrast

On white

8.39
#7E2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2091
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2091#FFFFFF#000000##FFFFFF
##7E20911.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#2B518E
Tritanopia (blue-blind)
#7E3858
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2091;
/* rgb */ color: rgb(126, 32, 145);
/* oklch */ color: oklch(44.6% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#a767b2',
    500: '#7e2091',
    950: '#000000',
  },
}
SCSS
$custom: #7e2091;
$custom-light: #a767b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2091",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 289.912,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.18395,
    "h": 320.2
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#7E2091
secondary
#63BC51
accent
#E7415D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2091

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

Preview Lab → · Contrast checker → · Palette generator →

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