#7D1E86#7D1E86

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

Color values

HEX#7D1E86
RGBrgb(125, 30, 134)
HSLhsl(295, 63%, 32%)
HSVhsv(295, 78%, 53%)
CMYKcmyk(6.7%, 77.6%, 0%, 47.5%)
CIE-LABlab(31.83, 52.92, -37.00)
CIE-LCHlch(31.83, 64.57, 325.04°)
OKLaboklab(43.56% 0.1429 -0.1032)
OKLCHoklch(43.56% 0.176 324.2)
XYZxyz(13.2244, 7.0106, 23.2063)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E86 #27861E
analogous
#491E86 #7D1E86 #861E5B
triadic
#7D1E86 #867D1E #1E867D
tetradic
#7D1E86 #86491E #27861E #1E5B86
square
#7D1E86 #86491E #27861E #1E5B86
split-complementary
#7D1E86 #5B861E #1E8649
monochromatic
#200822 #4E1354 #7D1E86 #AC29B8 #CA48D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1E86#FFFFFF#000000##FFFFFF
##7D1E861.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)
#004489
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#7F3151
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1e86;
/* rgb */ color: rgb(125, 30, 134);
/* oklch */ color: oklch(43.6% 0.176 324.2);
Tailwind
colors: {
  custom: {
    50: '#a665aa',
    500: '#7d1e86',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e86;
$custom-light: #a665aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e86",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 294.808,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.17623,
    "h": 324.2
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#7D1E86
secondary
#51B847
accent
#E64150
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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