#7D1B86#7D1B86

#7D1B86 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.179 H 324.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7D1B86
RGBrgb(125, 27, 134)
HSLhsl(295, 66%, 32%)
HSVhsv(295, 80%, 53%)
CMYKcmyk(6.7%, 79.9%, 0%, 47.5%)
CIE-LABlab(31.50, 53.88, -37.53)
CIE-LCHlch(31.50, 65.66, 325.14°)
OKLaboklab(43.32% 0.1455 -0.1047)
OKLCHoklch(43.32% 0.179 324.2)
XYZxyz(13.1521, 6.8659, 23.1822)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B86 #24861B
analogous
#481B86 #7D1B86 #861B5A
triadic
#7D1B86 #867D1B #1B867D
tetradic
#7D1B86 #86481B #24861B #1B5A86
square
#7D1B86 #86481B #24861B #1B5A86
split-complementary
#7D1B86 #5A861B #1B8648
monochromatic
#1E0620 #4D1153 #7D1B86 #AD25B9 #CC42D9

Accessibility & contrast

On white

8.85
#7D1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B86
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B86#FFFFFF#000000##FFFFFF
##7D1B861.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#7F3050
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1b86;
/* rgb */ color: rgb(125, 27, 134);
/* oklch */ color: oklch(43.3% 0.179 324.2);
Tailwind
colors: {
  custom: {
    50: '#a664aa',
    500: '#7d1b86',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b86;
$custom-light: #a664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b86",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 294.953,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.17925,
    "h": 324.2
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#7D1B86
secondary
#4DB944
accent
#E93E4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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