#7E1E85#7E1E85

#7E1E85 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.176 H 325.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7E1E85
RGBrgb(126, 30, 133)
HSLhsl(296, 63%, 32%)
HSVhsv(296, 77%, 52%)
CMYKcmyk(5.3%, 77.4%, 0%, 47.8%)
CIE-LABlab(31.94, 52.96, -36.19)
CIE-LCHlch(31.94, 64.14, 325.65°)
OKLaboklab(43.65% 0.1441 -0.1008)
OKLCHoklch(43.65% 0.176 325)
XYZxyz(13.3018, 7.0585, 22.8476)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E85 #25851E
analogous
#4A1E85 #7E1E85 #851E59
triadic
#7E1E85 #857E1E #1E857E
tetradic
#7E1E85 #854A1E #25851E #1E5985
square
#7E1E85 #854A1E #25851E #1E5985
split-complementary
#7E1E85 #59851E #1E854A
monochromatic
#1F0721 #4F1353 #7E1E85 #AD29B7 #CC48D6

Accessibility & contrast

On white

8.71
#7E1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E85
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E85#FFFFFF#000000##FFFFFF
##7E1E851.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#813150
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1e85;
/* rgb */ color: rgb(126, 30, 133);
/* oklch */ color: oklch(43.6% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#a766a9',
    500: '#7e1e85',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e85;
$custom-light: #a766a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e85",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 295.922,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.17587,
    "h": 325
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#7E1E85
secondary
#4FB847
accent
#E6424D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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