#7D1D86#7D1D86

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

Color values

HEX#7D1D86
RGBrgb(125, 29, 134)
HSLhsl(295, 64%, 32%)
HSVhsv(295, 78%, 53%)
CMYKcmyk(6.7%, 78.4%, 0%, 47.5%)
CIE-LABlab(31.72, 53.25, -37.18)
CIE-LCHlch(31.72, 64.94, 325.07°)
OKLaboklab(43.48% 0.1438 -0.1037)
OKLCHoklch(43.48% 0.177 324.2)
XYZxyz(13.1995, 6.9608, 23.1980)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D86 #26861D
analogous
#491D86 #7D1D86 #861D5B
triadic
#7D1D86 #867D1D #1D867D
tetradic
#7D1D86 #86491D #26861D #1D5B86
square
#7D1D86 #86491D #26861D #1D5B86
split-complementary
#7D1D86 #5B861D #1D8649
monochromatic
#1F0721 #4E1254 #7D1D86 #AC28B8 #CB46D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1D86#FFFFFF#000000##FFFFFF
##7D1D861.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)
#004389
Deuteranopia (green-blind)
#324E84
Tritanopia (blue-blind)
#7F3151
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1d86;
/* rgb */ color: rgb(125, 29, 134);
/* oklch */ color: oklch(43.5% 0.177 324.2);
Tailwind
colors: {
  custom: {
    50: '#a665aa',
    500: '#7d1d86',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d86;
$custom-light: #a665aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d86",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 294.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.17727,
    "h": 324.2
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#7D1D86
secondary
#50B946
accent
#E7404F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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