#7D1986#7D1986

#7D1986 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.181 H 324.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D1986
RGBrgb(125, 25, 134)
HSLhsl(295, 69%, 31%)
HSVhsv(295, 81%, 53%)
CMYKcmyk(6.7%, 81.3%, 0%, 47.5%)
CIE-LABlab(31.29, 54.47, -37.86)
CIE-LCHlch(31.29, 66.33, 325.20°)
OKLaboklab(43.18% 0.1471 -0.1057)
OKLCHoklch(43.18% 0.181 324.3)
XYZxyz(13.1078, 6.7773, 23.1674)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1986 #228619
analogous
#461986 #7D1986 #861958
triadic
#7D1986 #867D19 #19867D
tetradic
#7D1986 #864619 #228619 #195886
square
#7D1986 #864619 #228619 #195886
split-complementary
#7D1986 #588619 #198646
monochromatic
#1D061F #4D0F52 #7D1986 #AD23BA #CE3EDB

Accessibility & contrast

On white

8.92
#7D1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1986
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1986#FFFFFF#000000##FFFFFF
##7D19861.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#802F50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1986;
/* rgb */ color: rgb(125, 25, 134);
/* oklch */ color: oklch(43.2% 0.181 324.3);
Tailwind
colors: {
  custom: {
    50: '#a664aa',
    500: '#7d1986',
    950: '#000000',
  },
}
SCSS
$custom: #7d1986;
$custom-light: #a664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1986",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 295.046,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.18113,
    "h": 324.3
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#7D1986
secondary
#4BBA41
accent
#EB3C4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1986

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

Preview Lab → · Contrast checker → · Palette generator →

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