#7E1D86#7E1D86

#7E1D86 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.178 H 324.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1D86
RGBrgb(126, 29, 134)
HSLhsl(295, 64%, 32%)
HSVhsv(295, 78%, 53%)
CMYKcmyk(6%, 78.4%, 0%, 47.5%)
CIE-LABlab(31.89, 53.46, -36.90)
CIE-LCHlch(31.89, 64.96, 325.39°)
OKLaboklab(43.63% 0.1449 -0.1029)
OKLCHoklch(43.63% 0.178 324.6)
XYZxyz(13.3463, 7.0364, 23.2048)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D86 #25861D
analogous
#4A1D86 #7E1D86 #861D59
triadic
#7E1D86 #867E1D #1D867E
tetradic
#7E1D86 #864A1D #25861D #1D5986
square
#7E1D86 #864A1D #25861D #1D5986
split-complementary
#7E1D86 #59861D #1D864A
monochromatic
#1F0721 #4F1254 #7E1D86 #AD28B8 #CC46D7

Accessibility & contrast

On white

8.72
#7E1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D86
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D86#FFFFFF#000000##FFFFFF
##7E1D861.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#813151
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1d86;
/* rgb */ color: rgb(126, 29, 134);
/* oklch */ color: oklch(43.6% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#a765aa',
    500: '#7e1d86',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d86;
$custom-light: #a765aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d86",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 295.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.17772,
    "h": 324.6
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#7E1D86
secondary
#4FB946
accent
#E7404D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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