#7E1D85#7E1D85

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

Color values

HEX#7E1D85
RGBrgb(126, 29, 133)
HSLhsl(296, 64%, 32%)
HSVhsv(296, 78%, 52%)
CMYKcmyk(5.3%, 78.2%, 0%, 47.8%)
CIE-LABlab(31.83, 53.28, -36.37)
CIE-LCHlch(31.83, 64.51, 325.68°)
OKLaboklab(43.57% 0.145 -0.1013)
OKLCHoklch(43.57% 0.177 325)
XYZxyz(13.2769, 7.0087, 22.8393)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D85 #24851D
analogous
#4A1D85 #7E1D85 #851D58
triadic
#7E1D85 #857E1D #1D857E
tetradic
#7E1D85 #854A1D #24851D #1D5885
square
#7E1D85 #854A1D #24851D #1D5885
split-complementary
#7E1D85 #58851D #1D854A
monochromatic
#1F0721 #4E1253 #7E1D85 #AE28B7 #CD46D7

Accessibility & contrast

On white

8.74
#7E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D85
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D85#FFFFFF#000000##FFFFFF
##7E1D851.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d85;
/* rgb */ color: rgb(126, 29, 133);
/* oklch */ color: oklch(43.6% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#a765a9',
    500: '#7e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d85;
$custom-light: #a765a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d85",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 295.962,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.1769,
    "h": 325
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#7E1D85
secondary
#4EB846
accent
#E7414C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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