#7E1D94#7E1D94

#7E1D94 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.189 H 319.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7E1D94
RGBrgb(126, 29, 148)
HSLhsl(289, 67%, 35%)
HSVhsv(289, 80%, 58%)
CMYKcmyk(14.9%, 80.4%, 0%, 42%)
CIE-LABlab(32.82, 56.06, -44.05)
CIE-LCHlch(32.82, 71.30, 321.84°)
OKLaboklab(44.58% 0.1434 -0.1238)
OKLCHoklch(44.58% 0.189 319.2)
XYZxyz(14.3881, 7.4532, 28.6920)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D94 #33941D
analogous
#431D94 #7E1D94 #941D6E
triadic
#7E1D94 #947E1D #1D947E
tetradic
#7E1D94 #94431D #33941D #1D6E94
square
#7E1D94 #94431D #33941D #1D6E94
split-complementary
#7E1D94 #6E941D #1D9443
monochromatic
#27092E #521361 #7E1D94 #AA27C7 #C24FDC

Accessibility & contrast

On white

8.43
#7E1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D94
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D94#FFFFFF#000000##FFFFFF
##7E1D941.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#265091
Tritanopia (blue-blind)
#7E3759
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e1d94;
/* rgb */ color: rgb(126, 29, 148);
/* oklch */ color: oklch(44.6% 0.189 319.2);
Tailwind
colors: {
  custom: {
    50: '#a766b4',
    500: '#7e1d94',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d94;
$custom-light: #a766b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d94",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 288.908,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44584,
    "c": 0.18948,
    "h": 319.2
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#7E1D94
secondary
#63BF4E
accent
#EA3E5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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