#7E1D89#7E1D89

#7E1D89 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.180 H 323.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7E1D89
RGBrgb(126, 29, 137)
HSLhsl(294, 65%, 33%)
HSVhsv(294, 79%, 54%)
CMYKcmyk(8%, 78.8%, 0%, 46.3%)
CIE-LABlab(32.08, 54.01, -38.45)
CIE-LCHlch(32.08, 66.30, 324.55°)
OKLaboklab(43.83% 0.1447 -0.1074)
OKLCHoklch(43.83% 0.18 323.4)
XYZxyz(13.5585, 7.1213, 24.3225)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D89 #28891D
analogous
#481D89 #7E1D89 #891D5E
triadic
#7E1D89 #897E1D #1D897E
tetradic
#7E1D89 #89481D #28891D #1D5E89
square
#7E1D89 #89481D #28891D #1D5E89
split-complementary
#7E1D89 #5E891D #1D8948
monochromatic
#210824 #501256 #7E1D89 #AC28BC #CA48D8

Accessibility & contrast

On white

8.66
#7E1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D89
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D89#FFFFFF#000000##FFFFFF
##7E1D891.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#314F87
Tritanopia (blue-blind)
#803253
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1d89;
/* rgb */ color: rgb(126, 29, 137);
/* oklch */ color: oklch(43.8% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#a765ac',
    500: '#7e1d89',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d89;
$custom-light: #a765ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d89",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 293.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.18021,
    "h": 323.4
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#7E1D89
secondary
#53BA47
accent
#E84051
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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