#7C1E93#7C1E93

#7C1E93 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.187 H 318.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7C1E93
RGBrgb(124, 30, 147)
HSLhsl(288, 66%, 35%)
HSVhsv(288, 80%, 58%)
CMYKcmyk(15.6%, 79.6%, 0%, 42.4%)
CIE-LABlab(32.53, 55.16, -43.93)
CIE-LCHlch(32.53, 70.51, 321.47°)
OKLaboklab(44.29% 0.1403 -0.1235)
OKLCHoklch(44.29% 0.187 318.6)
XYZxyz(14.0422, 7.3209, 28.2715)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E93 #35931E
analogous
#411E93 #7C1E93 #931E70
triadic
#7C1E93 #937C1E #1E937C
tetradic
#7C1E93 #93411E #35931E #1E7093
square
#7C1E93 #93411E #35931E #1E7093
split-complementary
#7C1E93 #70931E #1E9341
monochromatic
#26092D #511460 #7C1E93 #A728C6 #C050DB

Accessibility & contrast

On white

8.52
#7C1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E93
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E93#FFFFFF#000000##FFFFFF
##7C1E931.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#254F90
Tritanopia (blue-blind)
#7C3858
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1e93;
/* rgb */ color: rgb(124, 30, 147);
/* oklch */ color: oklch(44.3% 0.187 318.6);
Tailwind
colors: {
  custom: {
    50: '#a666b3',
    500: '#7c1e93',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e93;
$custom-light: #a666b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e93",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 288.205,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.1869,
    "h": 318.6
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#7C1E93
secondary
#65BE4F
accent
#E93F60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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