#7E1D83#7E1D83

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

Color values

HEX#7E1D83
RGBrgb(126, 29, 131)
HSLhsl(297, 64%, 31%)
HSVhsv(297, 78%, 51%)
CMYKcmyk(3.8%, 77.9%, 0%, 48.6%)
CIE-LABlab(31.70, 52.93, -35.33)
CIE-LCHlch(31.70, 63.63, 326.28°)
OKLaboklab(43.44% 0.1451 -0.0983)
OKLCHoklch(43.44% 0.175 325.9)
XYZxyz(13.1400, 6.9539, 22.1185)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D83 #22831D
analogous
#4B1D83 #7E1D83 #831D55
triadic
#7E1D83 #837E1D #1D837E
tetradic
#7E1D83 #834B1D #22831D #1D5583
square
#7E1D83 #834B1D #22831D #1D5583
split-complementary
#7E1D83 #55831D #1D834B
monochromatic
#1E071F #4E1251 #7E1D83 #AE28B5 #CF45D6

Accessibility & contrast

On white

8.78
#7E1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D83
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D83#FFFFFF#000000##FFFFFF
##7E1D831.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d83;
/* rgb */ color: rgb(126, 29, 131);
/* oklch */ color: oklch(43.4% 0.175 325.9);
Tailwind
colors: {
  custom: {
    50: '#a765a7',
    500: '#7e1d83',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d83;
$custom-light: #a765a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d83",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 297.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.17525,
    "h": 325.9
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#7E1D83
secondary
#4BB646
accent
#E74149
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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