#7C1D86#7C1D86

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

Color values

HEX#7C1D86
RGBrgb(124, 29, 134)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(7.5%, 78.4%, 0%, 47.5%)
CIE-LABlab(31.55, 53.03, -37.46)
CIE-LCHlch(31.55, 64.93, 324.76°)
OKLaboklab(43.32% 0.1426 -0.1046)
OKLCHoklch(43.32% 0.177 323.7)
XYZxyz(13.0542, 6.8859, 23.1912)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D86 #27861D
analogous
#481D86 #7C1D86 #861D5C
triadic
#7C1D86 #867C1D #1D867C
tetradic
#7C1D86 #86481D #27861D #1D5C86
square
#7C1D86 #86481D #27861D #1D5C86
split-complementary
#7C1D86 #5C861D #1D8648
monochromatic
#1F0721 #4D1254 #7C1D86 #AB28B8 #C946D7

Accessibility & contrast

On white

8.83
#7C1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7C1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D86
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D86#FFFFFF#000000##FFFFFF
##7C1D861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1d86;
/* rgb */ color: rgb(124, 29, 134);
/* oklch */ color: oklch(43.3% 0.177 323.7);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7c1d86',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d86;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d86",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 294.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.17682,
    "h": 323.7
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#7C1D86
secondary
#51B946
accent
#E74050
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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