#7C1986#7C1986

#7C1986 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 323.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7C1986
RGBrgb(124, 25, 134)
HSLhsl(294, 69%, 31%)
HSVhsv(294, 81%, 53%)
CMYKcmyk(7.5%, 81.3%, 0%, 47.5%)
CIE-LABlab(31.12, 54.27, -38.15)
CIE-LCHlch(31.12, 66.33, 324.89°)
OKLaboklab(43.02% 0.1459 -0.1066)
OKLCHoklch(43.02% 0.181 323.9)
XYZxyz(12.9625, 6.7024, 23.1606)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1986 #238619
analogous
#451986 #7C1986 #861959
triadic
#7C1986 #867C19 #19867C
tetradic
#7C1986 #864519 #238619 #195986
square
#7C1986 #864519 #238619 #195986
split-complementary
#7C1986 #598619 #198645
monochromatic
#1D061F #4C0F52 #7C1986 #AC23BA #CD3EDB

Accessibility & contrast

On white

8.97
#7C1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1986
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1986#FFFFFF#000000##FFFFFF
##7C19861.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#7E2F50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1986;
/* rgb */ color: rgb(124, 25, 134);
/* oklch */ color: oklch(43.0% 0.181 323.9);
Tailwind
colors: {
  custom: {
    50: '#a663aa',
    500: '#7c1986',
    950: '#000000',
  },
}
SCSS
$custom: #7c1986;
$custom-light: #a663aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1986",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 294.495,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43019,
    "c": 0.18069,
    "h": 323.9
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#7C1986
secondary
#4CBA41
accent
#EB3C4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1986

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

Preview Lab → · Contrast checker → · Palette generator →

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