#7E1D90#7E1D90

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

Color values

HEX#7E1D90
RGBrgb(126, 29, 144)
HSLhsl(291, 66%, 34%)
HSVhsv(291, 80%, 56%)
CMYKcmyk(12.5%, 79.9%, 0%, 43.5%)
CIE-LABlab(32.54, 55.30, -42.04)
CIE-LCHlch(32.54, 69.46, 322.76°)
OKLaboklab(44.3% 0.144 -0.1179)
OKLCHoklch(44.3% 0.186 320.7)
XYZxyz(14.0770, 7.3287, 27.0533)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D90 #2F901D
analogous
#451D90 #7E1D90 #901D69
triadic
#7E1D90 #907E1D #1D907E
tetradic
#7E1D90 #90451D #2F901D #1D6990
square
#7E1D90 #90451D #2F901D #1D6990
split-complementary
#7E1D90 #69901D #1D9045
monochromatic
#25082A #51135D #7E1D90 #AB27C3 #C54CDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1D90#FFFFFF#000000##FFFFFF
##7E1D901.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d90;
/* rgb */ color: rgb(126, 29, 144);
/* oklch */ color: oklch(44.3% 0.186 320.7);
Tailwind
colors: {
  custom: {
    50: '#a766b1',
    500: '#7e1d90',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d90;
$custom-light: #a766b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d90",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 290.609,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.18609,
    "h": 320.7
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#7E1D90
secondary
#5DBD4B
accent
#E93E59
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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