#7E2579#7E2579

#7E2579 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.158 H 330.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7E2579
RGBrgb(126, 37, 121)
HSLhsl(303, 55%, 32%)
HSVhsv(303, 71%, 49%)
CMYKcmyk(0%, 70.6%, 4%, 50.6%)
CIE-LABlab(32.12, 48.30, -28.38)
CIE-LCHlch(32.12, 56.02, 329.56°)
OKLaboklab(43.55% 0.1369 -0.0782)
OKLCHoklch(43.55% 0.158 330.3)
XYZxyz(12.7169, 7.1402, 18.7939)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2579 #257E2A
analogous
#57257E #7E2579 #7E254D
triadic
#7E2579 #797E25 #25797E
tetradic
#7E2579 #7E5725 #257E2A #254D7E
square
#7E2579 #7E5725 #257E2A #254D7E
split-complementary
#7E2579 #4D7E25 #257E57
monochromatic
#1F091E #4F174C #7E2579 #AD33A6 #CC51C5

Accessibility & contrast

On white

8.65
#7E2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2579
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2579#FFFFFF#000000##FFFFFF
##7E25791.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#83304C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2579;
/* rgb */ color: rgb(126, 37, 121);
/* oklch */ color: oklch(43.6% 0.158 330.3);
Tailwind
colors: {
  custom: {
    50: '#a668a0',
    500: '#7e2579',
    950: '#000000',
  },
}
SCSS
$custom: #7e2579;
$custom-light: #a668a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2579",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 303.371,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.15769,
    "h": 330.3
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#7E2579
secondary
#4FB054
accent
#DE524A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2579

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

Preview Lab → · Contrast checker → · Palette generator →

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