#7E2099#7E2099

#7E2099 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 317.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7E2099
RGBrgb(126, 32, 153)
HSLhsl(287, 65%, 36%)
HSVhsv(287, 79%, 60%)
CMYKcmyk(17.6%, 79.1%, 0%, 40%)
CIE-LABlab(33.50, 56.06, -46.02)
CIE-LCHlch(33.50, 72.53, 320.62°)
OKLaboklab(45.18% 0.1402 -0.1296)
OKLCHoklch(45.18% 0.191 317.3)
XYZxyz(14.8696, 7.7692, 30.8472)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2099 #3B9920
analogous
#422099 #7E2099 #992078
triadic
#7E2099 #997E20 #20997E
tetradic
#7E2099 #994220 #3B9920 #207899
square
#7E2099 #994220 #3B9920 #207899
split-complementary
#7E2099 #789920 #209942
monochromatic
#2B0B34 #541566 #7E2099 #A82BCC #BE57DC

Accessibility & contrast

On white

8.22
#7E2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7E2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2099
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2099#FFFFFF#000000##FFFFFF
##7E20991.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#235196
Tritanopia (blue-blind)
#7D3B5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2099;
/* rgb */ color: rgb(126, 32, 153);
/* oklch */ color: oklch(45.2% 0.191 317.3);
Tailwind
colors: {
  custom: {
    50: '#a767b8',
    500: '#7e2099',
    950: '#000000',
  },
}
SCSS
$custom: #7e2099;
$custom-light: #a767b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2099",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 286.612,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.19091,
    "h": 317.3
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#7E2099
secondary
#6DC055
accent
#E83F65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2099

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

Preview Lab → · Contrast checker → · Palette generator →

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