#7C1E86#7C1E86

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

Color values

HEX#7C1E86
RGBrgb(124, 30, 134)
HSLhsl(294, 63%, 32%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(7.5%, 77.6%, 0%, 47.5%)
CIE-LABlab(31.66, 52.71, -37.28)
CIE-LCHlch(31.66, 64.56, 324.73°)
OKLaboklab(43.4% 0.1417 -0.1041)
OKLCHoklch(43.4% 0.176 323.7)
XYZxyz(13.0791, 6.9357, 23.1995)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E86 #28861E
analogous
#481E86 #7C1E86 #861E5C
triadic
#7C1E86 #867C1E #1E867C
tetradic
#7C1E86 #86481E #28861E #1E5C86
square
#7C1E86 #86481E #28861E #1E5C86
split-complementary
#7C1E86 #5C861E #1E8648
monochromatic
#1F0822 #4E1354 #7C1E86 #AA29B8 #C848D6

Accessibility & contrast

On white

8.80
#7C1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E86
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E86#FFFFFF#000000##FFFFFF
##7C1E861.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1e86;
/* rgb */ color: rgb(124, 30, 134);
/* oklch */ color: oklch(43.4% 0.176 323.7);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7c1e86',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e86;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e86",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 294.231,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.17579,
    "h": 323.7
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#7C1E86
secondary
#52B847
accent
#E64151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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