#7E1E83#7E1E83

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

Color values

HEX#7E1E83
RGBrgb(126, 30, 131)
HSLhsl(297, 63%, 32%)
HSVhsv(297, 77%, 51%)
CMYKcmyk(3.8%, 77.1%, 0%, 48.6%)
CIE-LABlab(31.82, 52.60, -35.14)
CIE-LCHlch(31.82, 63.26, 326.25°)
OKLaboklab(43.52% 0.1442 -0.0978)
OKLCHoklch(43.52% 0.174 325.9)
XYZxyz(13.1649, 7.0038, 22.1268)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E83 #23831E
analogous
#4C1E83 #7E1E83 #831E56
triadic
#7E1E83 #837E1E #1E837E
tetradic
#7E1E83 #834C1E #23831E #1E5683
square
#7E1E83 #834C1E #23831E #1E5683
split-complementary
#7E1E83 #56831E #1E834C
monochromatic
#1E071F #4E1351 #7E1E83 #AE29B5 #CE47D5

Accessibility & contrast

On white

8.75
#7E1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E83
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E83#FFFFFF#000000##FFFFFF
##7E1E831.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#81304F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1e83;
/* rgb */ color: rgb(126, 30, 131);
/* oklch */ color: oklch(43.5% 0.174 325.9);
Tailwind
colors: {
  custom: {
    50: '#a765a7',
    500: '#7e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e83;
$custom-light: #a765a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e83",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 297.03,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.1742,
    "h": 325.9
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#7E1E83
secondary
#4CB647
accent
#E6424A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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