#7E1A86#7E1A86

#7E1A86 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.181 H 324.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E1A86
RGBrgb(126, 26, 134)
HSLhsl(296, 68%, 31%)
HSVhsv(296, 81%, 53%)
CMYKcmyk(6%, 80.6%, 0%, 47.5%)
CIE-LABlab(31.57, 54.38, -37.41)
CIE-LCHlch(31.57, 66.01, 325.48°)
OKLaboklab(43.41% 0.1475 -0.1043)
OKLCHoklch(43.41% 0.181 324.7)
XYZxyz(13.2763, 6.8965, 23.1815)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A86 #22861A
analogous
#481A86 #7E1A86 #861A58
triadic
#7E1A86 #867E1A #1A867E
tetradic
#7E1A86 #86481A #22861A #1A5886
square
#7E1A86 #86481A #22861A #1A5886
split-complementary
#7E1A86 #58861A #1A8648
monochromatic
#1E061F #4E1053 #7E1A86 #AE24B9 #CF40DA

Accessibility & contrast

On white

8.83
#7E1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A86
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A86#FFFFFF#000000##FFFFFF
##7E1A861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#812F50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e1a86;
/* rgb */ color: rgb(126, 26, 134);
/* oklch */ color: oklch(43.4% 0.181 324.7);
Tailwind
colors: {
  custom: {
    50: '#a764aa',
    500: '#7e1a86',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a86;
$custom-light: #a764aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a86",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 295.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.18064,
    "h": 324.7
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#7E1A86
secondary
#4BB942
accent
#EA3D4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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