#7C1E87#7C1E87

#7C1E87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.177 H 323.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7C1E87
RGBrgb(124, 30, 135)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 53%)
CMYKcmyk(8.1%, 77.8%, 0%, 47.1%)
CIE-LABlab(31.72, 52.89, -37.80)
CIE-LCHlch(31.72, 65.01, 324.45°)
OKLaboklab(43.47% 0.1416 -0.1056)
OKLCHoklch(43.47% 0.177 323.3)
XYZxyz(13.1492, 6.9637, 23.5685)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E87 #29871E
analogous
#471E87 #7C1E87 #871E5E
triadic
#7C1E87 #877C1E #1E877C
tetradic
#7C1E87 #87471E #29871E #1E5E87
square
#7C1E87 #87471E #29871E #1E5E87
split-complementary
#7C1E87 #5E871E #1E8747
monochromatic
#200823 #4E1355 #7C1E87 #AA29B9 #C849D7

Accessibility & contrast

On white

8.78
#7C1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E87
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E87#FFFFFF#000000##FFFFFF
##7C1E871.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#7E3252
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1e87;
/* rgb */ color: rgb(124, 30, 135);
/* oklch */ color: oklch(43.5% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7c1e87',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e87;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e87",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 293.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.17663,
    "h": 323.3
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#7C1E87
secondary
#54B948
accent
#E74152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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