#7E2699#7E2699

#7E2699 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.185 H 316.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7E2699
RGBrgb(126, 38, 153)
HSLhsl(286, 60%, 37%)
HSVhsv(286, 75%, 60%)
CMYKcmyk(17.6%, 75.2%, 0%, 40%)
CIE-LABlab(34.24, 53.94, -44.82)
CIE-LCHlch(34.24, 70.14, 320.27°)
OKLaboklab(45.7% 0.1347 -0.1261)
OKLCHoklch(45.7% 0.185 316.9)
XYZxyz(15.0462, 8.1224, 30.9060)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2699 #419926
analogous
#452699 #7E2699 #99267A
triadic
#7E2699 #997E26 #26997E
tetradic
#7E2699 #994526 #419926 #267A99
square
#7E2699 #994526 #419926 #267A99
split-complementary
#7E2699 #7A9926 #269945
monochromatic
#2D0E37 #561A68 #7E2699 #A632CA #BC62D8

Accessibility & contrast

On white

8.00
#7E2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7E2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2699
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2699#FFFFFF#000000##FFFFFF
##7E26991.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#7D3E5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2699;
/* rgb */ color: rgb(126, 38, 153);
/* oklch */ color: oklch(45.7% 0.185 316.9);
Tailwind
colors: {
  custom: {
    50: '#a76ab8',
    500: '#7e2699',
    950: '#000000',
  },
}
SCSS
$custom: #7e2699;
$custom-light: #a76ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2699",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 285.913,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.18457,
    "h": 316.9
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#7E2699
secondary
#74BD5E
accent
#E3446A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2699

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

Preview Lab → · Contrast checker → · Palette generator →

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