#7E1C90#7E1C90

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

Color values

HEX#7E1C90
RGBrgb(126, 28, 144)
HSLhsl(291, 67%, 34%)
HSVhsv(291, 81%, 56%)
CMYKcmyk(12.5%, 80.6%, 0%, 43.5%)
CIE-LABlab(32.44, 55.61, -42.21)
CIE-LCHlch(32.44, 69.81, 322.80°)
OKLaboklab(44.23% 0.1448 -0.1184)
OKLCHoklch(44.23% 0.187 320.7)
XYZxyz(14.0529, 7.2805, 27.0452)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C90 #2E901C
analogous
#441C90 #7E1C90 #901C68
triadic
#7E1C90 #907E1C #1C907E
tetradic
#7E1C90 #90441C #2E901C #1C6890
square
#7E1C90 #90441C #2E901C #1C6890
split-complementary
#7E1C90 #68901C #1C9044
monochromatic
#24082A #51125D #7E1C90 #AB26C3 #C54ADC

Accessibility & contrast

On white

8.55
#7E1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C90
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C90#FFFFFF#000000##FFFFFF
##7E1C901.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#7F3556
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e1c90;
/* rgb */ color: rgb(126, 28, 144);
/* oklch */ color: oklch(44.2% 0.187 320.7);
Tailwind
colors: {
  custom: {
    50: '#a765b1',
    500: '#7e1c90',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c90;
$custom-light: #a765b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c90",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 290.69,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.18704,
    "h": 320.7
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#7E1C90
secondary
#5CBE4A
accent
#EA3D58
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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