#7E1689#7E1689

#7E1689 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.187 H 323.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7E1689
RGBrgb(126, 22, 137)
HSLhsl(294, 72%, 31%)
HSVhsv(294, 84%, 54%)
CMYKcmyk(8%, 83.9%, 0%, 46.3%)
CIE-LABlab(31.39, 56.02, -39.57)
CIE-LCHlch(31.39, 68.59, 324.77°)
OKLaboklab(43.34% 0.1502 -0.1106)
OKLCHoklch(43.34% 0.187 323.6)
XYZxyz(13.4060, 6.8164, 24.2717)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1689 #218916
analogous
#441689 #7E1689 #89165A
triadic
#7E1689 #897E16 #16897E
tetradic
#7E1689 #894416 #218916 #165A89
square
#7E1689 #894416 #218916 #165A89
split-complementary
#7E1689 #5A8916 #168944
monochromatic
#1D0520 #4E0E54 #7E1689 #AE1EBE #D03ADF

Accessibility & contrast

On white

8.89
#7E1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1689
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1689#FFFFFF#000000##FFFFFF
##7E16891.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#2D4E86
Tritanopia (blue-blind)
#802F51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e1689;
/* rgb */ color: rgb(126, 22, 137);
/* oklch */ color: oklch(43.3% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#a763ac',
    500: '#7e1689',
    950: '#000000',
  },
}
SCSS
$custom: #7e1689;
$custom-light: #a763ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1689",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 294.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.18655,
    "h": 323.6
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#7E1689
secondary
#4ABD3E
accent
#EF394A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1689

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

Preview Lab → · Contrast checker → · Palette generator →

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