#7C1B86#7C1B86

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

Color values

HEX#7C1B86
RGBrgb(124, 27, 134)
HSLhsl(294, 66%, 32%)
HSVhsv(294, 80%, 53%)
CMYKcmyk(7.5%, 79.9%, 0%, 47.5%)
CIE-LABlab(31.33, 53.67, -37.82)
CIE-LCHlch(31.33, 65.65, 324.83°)
OKLaboklab(43.17% 0.1443 -0.1056)
OKLCHoklch(43.17% 0.179 323.8)
XYZxyz(13.0068, 6.7910, 23.1753)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B86 #25861B
analogous
#471B86 #7C1B86 #861B5B
triadic
#7C1B86 #867C1B #1B867C
tetradic
#7C1B86 #86471B #25861B #1B5B86
square
#7C1B86 #86471B #25861B #1B5B86
split-complementary
#7C1B86 #5B861B #1B8647
monochromatic
#1E0620 #4D1153 #7C1B86 #AB25B9 #CB42D9

Accessibility & contrast

On white

8.91
#7C1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B86
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B86#FFFFFF#000000##FFFFFF
##7C1B861.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#304D84
Tritanopia (blue-blind)
#7E3050
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1b86;
/* rgb */ color: rgb(124, 27, 134);
/* oklch */ color: oklch(43.2% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#a664aa',
    500: '#7c1b86',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b86;
$custom-light: #a664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b86",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 294.393,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.17882,
    "h": 323.8
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#7C1B86
secondary
#4FB944
accent
#E93E4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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