#7C1E95#7C1E95

#7C1E95 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.189 H 317.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7C1E95
RGBrgb(124, 30, 149)
HSLhsl(287, 66%, 35%)
HSVhsv(287, 80%, 58%)
CMYKcmyk(16.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.67, 55.55, -44.93)
CIE-LCHlch(32.67, 71.44, 321.03°)
OKLaboklab(44.44% 0.14 -0.1264)
OKLCHoklch(44.44% 0.189 317.9)
XYZxyz(14.2005, 7.3842, 29.1052)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E95 #37951E
analogous
#411E95 #7C1E95 #951E72
triadic
#7C1E95 #957C1E #1E957C
tetradic
#7C1E95 #95411E #37951E #1E7295
square
#7C1E95 #95411E #37951E #1E7295
split-complementary
#7C1E95 #72951E #1E9541
monochromatic
#27092F #521462 #7C1E95 #A628C8 #BF51DC

Accessibility & contrast

On white

8.48
#7C1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E95
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E95#FFFFFF#000000##FFFFFF
##7C1E951.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#235092
Tritanopia (blue-blind)
#7B395A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1e95;
/* rgb */ color: rgb(124, 30, 149);
/* oklch */ color: oklch(44.4% 0.189 317.9);
Tailwind
colors: {
  custom: {
    50: '#a666b5',
    500: '#7c1e95',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e95;
$custom-light: #a666b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e95",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 287.395,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.18863,
    "h": 317.9
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#7C1E95
secondary
#67BF50
accent
#E93E62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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