#7E2C76#7E2C76

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

Color values

HEX#7E2C76
RGBrgb(126, 44, 118)
HSLhsl(306, 48%, 33%)
HSVhsv(306, 65%, 49%)
CMYKcmyk(0%, 65.1%, 6.3%, 50.6%)
CIE-LABlab(33.02, 44.83, -25.09)
CIE-LCHlch(33.02, 51.37, 330.77°)
OKLaboklab(44.15% 0.1282 -0.0688)
OKLCHoklch(44.15% 0.145 331.8)
XYZxyz(12.7749, 7.5459, 17.9197)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C76 #2C7E34
analogous
#5D2C7E #7E2C76 #7E2C4D
triadic
#7E2C76 #767E2C #2C767E
tetradic
#7E2C76 #7E5D2C #2C7E34 #2C4D7E
square
#7E2C76 #7E5D2C #2C7E34 #2C4D7E
split-complementary
#7E2C76 #4D7E2C #2C7E5D
monochromatic
#230C21 #511C4C #7E2C76 #AB3CA0 #C75EBC

Accessibility & contrast

On white

8.37
#7E2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C76
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C76#FFFFFF#000000##FFFFFF
##7E2C761.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#83344D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2c76;
/* rgb */ color: rgb(126, 44, 118);
/* oklch */ color: oklch(44.1% 0.145 331.8);
Tailwind
colors: {
  custom: {
    50: '#a66b9e',
    500: '#7e2c76',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c76;
$custom-light: #a66b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c76",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 305.854,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.14546,
    "h": 331.8
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#7E2C76
secondary
#59AD61
accent
#D85D50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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