#7E1E86#7E1E86

#7E1E86 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.177 H 324.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7E1E86
RGBrgb(126, 30, 134)
HSLhsl(295, 63%, 32%)
HSVhsv(295, 78%, 53%)
CMYKcmyk(6%, 77.6%, 0%, 47.5%)
CIE-LABlab(32.00, 53.14, -36.71)
CIE-LCHlch(32.00, 64.59, 325.36°)
OKLaboklab(43.71% 0.144 -0.1023)
OKLCHoklch(43.71% 0.177 324.6)
XYZxyz(13.3712, 7.0863, 23.2131)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E86 #26861E
analogous
#4A1E86 #7E1E86 #861E5A
triadic
#7E1E86 #867E1E #1E867E
tetradic
#7E1E86 #864A1E #26861E #1E5A86
square
#7E1E86 #864A1E #26861E #1E5A86
split-complementary
#7E1E86 #5A861E #1E864A
monochromatic
#200822 #4F1354 #7E1E86 #AD29B8 #CB48D6

Accessibility & contrast

On white

8.69
#7E1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E86
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E86#FFFFFF#000000##FFFFFF
##7E1E861.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.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: #7e1e86;
/* rgb */ color: rgb(126, 30, 134);
/* oklch */ color: oklch(43.7% 0.177 324.6);
Tailwind
colors: {
  custom: {
    50: '#a766aa',
    500: '#7e1e86',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e86;
$custom-light: #a766aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e86",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 295.385,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.17669,
    "h": 324.6
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#7E1E86
secondary
#50B847
accent
#E6414E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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