#7C1E88#7C1E88

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

Color values

HEX#7C1E88
RGBrgb(124, 30, 136)
HSLhsl(293, 64%, 33%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(8.8%, 77.9%, 0%, 46.7%)
CIE-LABlab(31.79, 53.07, -38.32)
CIE-LCHlch(31.79, 65.46, 324.17°)
OKLaboklab(43.54% 0.1415 -0.1071)
OKLCHoklch(43.54% 0.177 322.9)
XYZxyz(13.2200, 6.9920, 23.9410)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E88 #2A881E
analogous
#471E88 #7C1E88 #881E5F
triadic
#7C1E88 #887C1E #1E887C
tetradic
#7C1E88 #88471E #2A881E #1E5F88
square
#7C1E88 #88471E #2A881E #1E5F88
split-complementary
#7C1E88 #5F881E #1E8847
monochromatic
#210824 #4E1356 #7C1E88 #AA29BA #C749D7

Accessibility & contrast

On white

8.76
#7C1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7C1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E88
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E88#FFFFFF#000000##FFFFFF
##7C1E881.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#304E86
Tritanopia (blue-blind)
#7E3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1e88;
/* rgb */ color: rgb(124, 30, 136);
/* oklch */ color: oklch(43.5% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#a565ab',
    500: '#7c1e88',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e88;
$custom-light: #a565ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e88",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 293.208,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.17748,
    "h": 322.9
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#7C1E88
secondary
#55B949
accent
#E74154
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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