#7E2076#7E2076

#7E2076 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.161 H 331.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7E2076
RGBrgb(126, 32, 118)
HSLhsl(305, 59%, 31%)
HSVhsv(305, 75%, 49%)
CMYKcmyk(0%, 74.6%, 6.3%, 50.6%)
CIE-LABlab(31.30, 49.67, -27.80)
CIE-LCHlch(31.30, 56.92, 330.77°)
OKLaboklab(42.9% 0.1422 -0.0765)
OKLCHoklch(42.9% 0.161 331.7)
XYZxyz(12.3907, 6.7776, 17.7916)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2076 #207E28
analogous
#57207E #7E2076 #7E2047
triadic
#7E2076 #767E20 #20767E
tetradic
#7E2076 #7E5720 #207E28 #20477E
square
#7E2076 #7E5720 #207E28 #20477E
split-complementary
#7E2076 #477E20 #207E57
monochromatic
#1C071B #4D1448 #7E2076 #AF2CA4 #D048C5

Accessibility & contrast

On white

8.92
#7E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2076
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2076#FFFFFF#000000##FFFFFF
##7E20761.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#3E4E74
Tritanopia (blue-blind)
#832B49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2076;
/* rgb */ color: rgb(126, 32, 118);
/* oklch */ color: oklch(42.9% 0.161 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7669e',
    500: '#7e2076',
    950: '#000000',
  },
}
SCSS
$custom: #7e2076;
$custom-light: #a7669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2076",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 305.106,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.16144,
    "h": 331.7
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#7E2076
secondary
#49B152
accent
#E35345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E2076

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

Preview Lab → · Contrast checker → · Palette generator →

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