#7E1D84#7E1D84

#7E1D84 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.176 H 325.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1D84
RGBrgb(126, 29, 132)
HSLhsl(297, 64%, 32%)
HSVhsv(297, 78%, 52%)
CMYKcmyk(4.5%, 78%, 0%, 48.2%)
CIE-LABlab(31.76, 53.10, -35.85)
CIE-LCHlch(31.76, 64.07, 325.98°)
OKLaboklab(43.5% 0.145 -0.0998)
OKLCHoklch(43.5% 0.176 325.5)
XYZxyz(13.2081, 6.9812, 22.4771)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D84 #23841D
analogous
#4B1D84 #7E1D84 #841D57
triadic
#7E1D84 #847E1D #1D847E
tetradic
#7E1D84 #844B1D #23841D #1D5784
square
#7E1D84 #844B1D #23841D #1D5784
split-complementary
#7E1D84 #57841D #1D844B
monochromatic
#1E0720 #4E1252 #7E1D84 #AE28B6 #CE45D6

Accessibility & contrast

On white

8.76
#7E1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D84
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D84#FFFFFF#000000##FFFFFF
##7E1D841.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#813050
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1d84;
/* rgb */ color: rgb(126, 29, 132);
/* oklch */ color: oklch(43.5% 0.176 325.5);
Tailwind
colors: {
  custom: {
    50: '#a765a8',
    500: '#7e1d84',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d84;
$custom-light: #a765a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d84",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 296.505,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.17607,
    "h": 325.5
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#7E1D84
secondary
#4CB746
accent
#E7414A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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