#7E2776#7E2776

#7E2776 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.153 H 331.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7E2776
RGBrgb(126, 39, 118)
HSLhsl(306, 53%, 32%)
HSVhsv(306, 69%, 49%)
CMYKcmyk(0%, 69%, 6.3%, 50.6%)
CIE-LABlab(32.25, 46.98, -26.30)
CIE-LCHlch(32.25, 53.84, 330.76°)
OKLaboklab(43.59% 0.1344 -0.0722)
OKLCHoklch(43.59% 0.153 331.8)
XYZxyz(12.5997, 7.1956, 17.8613)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2776 #277E2F
analogous
#5A277E #7E2776 #7E274B
triadic
#7E2776 #767E27 #27767E
tetradic
#7E2776 #7E5A27 #277E2F #274B7E
square
#7E2776 #7E5A27 #277E2F #274B7E
split-complementary
#7E2776 #4B7E27 #277E5A
monochromatic
#210A1E #4F194A #7E2776 #AD35A2 #CA55C0

Accessibility & contrast

On white

8.61
#7E2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E2776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2776
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2776#FFFFFF#000000##FFFFFF
##7E27761.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#83304B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2776;
/* rgb */ color: rgb(126, 39, 118);
/* oklch */ color: oklch(43.6% 0.153 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6699e',
    500: '#7e2776',
    950: '#000000',
  },
}
SCSS
$custom: #7e2776;
$custom-light: #a6699e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2776",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 305.517,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.15256,
    "h": 331.8
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#7E2776
secondary
#52AF5A
accent
#DC594C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2776

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

Preview Lab → · Contrast checker → · Palette generator →

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