#7E1D76#7E1D76

#7E1D76 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.165 H 331.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7E1D76
RGBrgb(126, 29, 118)
HSLhsl(305, 63%, 30%)
HSVhsv(305, 77%, 49%)
CMYKcmyk(0%, 77%, 6.3%, 50.6%)
CIE-LABlab(30.93, 50.70, -28.37)
CIE-LCHlch(30.93, 58.10, 330.77°)
OKLaboklab(42.64% 0.1452 -0.0781)
OKLCHoklch(42.64% 0.165 331.7)
XYZxyz(12.3136, 6.6234, 17.7659)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D76 #1D7E25
analogous
#551D7E #7E1D76 #7E1D46
triadic
#7E1D76 #767E1D #1D767E
tetradic
#7E1D76 #7E551D #1D7E25 #1D467E
square
#7E1D76 #7E551D #1D7E25 #1D467E
split-complementary
#7E1D76 #467E1D #1D7E55
monochromatic
#1B0619 #4C1247 #7E1D76 #B028A5 #D342C7

Accessibility & contrast

On white

9.03
#7E1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D76
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D76#FFFFFF#000000##FFFFFF
##7E1D761.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#3C4E74
Tritanopia (blue-blind)
#832948
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1d76;
/* rgb */ color: rgb(126, 29, 118);
/* oklch */ color: oklch(42.6% 0.165 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7649e',
    500: '#7e1d76',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d76;
$custom-light: #a7649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d76",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 304.948,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.16485,
    "h": 331.7
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#7E1D76
secondary
#45B14E
accent
#E65042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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