#7E2B76#7E2B76

#7E2B76 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.147 H 331.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7E2B76
RGBrgb(126, 43, 118)
HSLhsl(306, 49%, 33%)
HSVhsv(306, 66%, 49%)
CMYKcmyk(0%, 65.9%, 6.3%, 50.6%)
CIE-LABlab(32.86, 45.28, -25.34)
CIE-LCHlch(32.86, 51.88, 330.77°)
OKLaboklab(44.03% 0.1295 -0.0695)
OKLCHoklch(44.03% 0.147 331.8)
XYZxyz(12.7381, 7.4723, 17.9074)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B76 #2B7E33
analogous
#5C2B7E #7E2B76 #7E2B4C
triadic
#7E2B76 #767E2B #2B767E
tetradic
#7E2B76 #7E5C2B #2B7E33 #2B4C7E
square
#7E2B76 #7E5C2B #2B7E33 #2B4C7E
split-complementary
#7E2B76 #4C7E2B #2B7E5C
monochromatic
#230C21 #501B4B #7E2B76 #AC3BA1 #C75CBD

Accessibility & contrast

On white

8.42
#7E2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B76
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B76#FFFFFF#000000##FFFFFF
##7E2B761.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#83334C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2b76;
/* rgb */ color: rgb(126, 43, 118);
/* oklch */ color: oklch(44.0% 0.147 331.8);
Tailwind
colors: {
  custom: {
    50: '#a66b9e',
    500: '#7e2b76',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b76;
$custom-light: #a66b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b76",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 305.783,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.14692,
    "h": 331.8
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#7E2B76
secondary
#58AD60
accent
#D95C4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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