#7E1C93#7E1C93

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

Color values

HEX#7E1C93
RGBrgb(126, 28, 147)
HSLhsl(289, 68%, 34%)
HSVhsv(289, 81%, 58%)
CMYKcmyk(14.3%, 81%, 0%, 42.4%)
CIE-LABlab(32.64, 56.17, -43.72)
CIE-LCHlch(32.64, 71.18, 322.10°)
OKLaboklab(44.44% 0.1444 -0.1228)
OKLCHoklch(44.44% 0.19 319.6)
XYZxyz(14.2852, 7.3734, 28.2689)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C93 #31931C
analogous
#431C93 #7E1C93 #931C6D
triadic
#7E1C93 #937E1C #1C937E
tetradic
#7E1C93 #93431C #31931C #1C6D93
square
#7E1C93 #93431C #31931C #1C6D93
split-complementary
#7E1C93 #6D931C #1C9343
monochromatic
#26082C #521260 #7E1C93 #AA26C6 #C34CDD

Accessibility & contrast

On white

8.49
#7E1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C93
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C93#FFFFFF#000000##FFFFFF
##7E1C931.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#275090
Tritanopia (blue-blind)
#7E3658
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e1c93;
/* rgb */ color: rgb(126, 28, 147);
/* oklch */ color: oklch(44.4% 0.190 319.6);
Tailwind
colors: {
  custom: {
    50: '#a765b3',
    500: '#7e1c93',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c93;
$custom-light: #a765b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c93",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 289.412,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44439,
    "c": 0.18957,
    "h": 319.6
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#7E1C93
secondary
#60BF4C
accent
#EB3D5C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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