#7E2089#7E2089

#7E2089 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.177 H 323.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7E2089
RGBrgb(126, 32, 137)
HSLhsl(294, 62%, 33%)
HSVhsv(294, 77%, 54%)
CMYKcmyk(8%, 76.6%, 0%, 46.3%)
CIE-LABlab(32.43, 53.01, -37.90)
CIE-LCHlch(32.43, 65.17, 324.44°)
OKLaboklab(44.07% 0.142 -0.1058)
OKLCHoklch(44.07% 0.177 323.3)
XYZxyz(13.6356, 7.2756, 24.3482)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2089 #2B8920
analogous
#492089 #7E2089 #89205F
triadic
#7E2089 #897E20 #20897E
tetradic
#7E2089 #894920 #2B8920 #205F89
square
#7E2089 #894920 #2B8920 #205F89
split-complementary
#7E2089 #5F8920 #208949
monochromatic
#230926 #501457 #7E2089 #AC2CBB #C74ED6

Accessibility & contrast

On white

8.55
#7E2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7E2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2089
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2089#FFFFFF#000000##FFFFFF
##7E20891.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#803453
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2089;
/* rgb */ color: rgb(126, 32, 137);
/* oklch */ color: oklch(44.1% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#a766ac',
    500: '#7e2089',
    950: '#000000',
  },
}
SCSS
$custom: #7e2089;
$custom-light: #a766ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2089",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 293.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.17709,
    "h": 323.3
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#7E2089
secondary
#58B94C
accent
#E54354
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E2089

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

Preview Lab → · Contrast checker → · Palette generator →

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