#7E2777#7E2777

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

Color values

HEX#7E2777
RGBrgb(126, 39, 119)
HSLhsl(305, 53%, 32%)
HSVhsv(305, 69%, 49%)
CMYKcmyk(0%, 69%, 5.6%, 50.6%)
CIE-LABlab(32.30, 47.15, -26.84)
CIE-LCHlch(32.30, 54.26, 330.35°)
OKLaboklab(43.65% 0.1345 -0.0738)
OKLCHoklch(43.65% 0.153 331.3)
XYZxyz(12.6595, 7.2195, 18.1759)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2777 #277E2E
analogous
#5A277E #7E2777 #7E274B
triadic
#7E2777 #777E27 #27777E
tetradic
#7E2777 #7E5A27 #277E2E #274B7E
square
#7E2777 #7E5A27 #277E2E #274B7E
split-complementary
#7E2777 #4B7E27 #277E5A
monochromatic
#210A1F #4F194B #7E2777 #AD35A3 #CA55C1

Accessibility & contrast

On white

8.59
#7E2777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2777
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2777#FFFFFF#000000##FFFFFF
##7E27771.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2777;
/* rgb */ color: rgb(126, 39, 119);
/* oklch */ color: oklch(43.6% 0.153 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6699e',
    500: '#7e2777',
    950: '#000000',
  },
}
SCSS
$custom: #7e2777;
$custom-light: #a6699e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2777",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 304.828,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.15338,
    "h": 331.3
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#7E2777
secondary
#52AF59
accent
#DC574C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2777

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

Preview Lab → · Contrast checker → · Palette generator →

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