#7E2689#7E2689

#7E2689 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.170 H 323.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2689
RGBrgb(126, 38, 137)
HSLhsl(293, 57%, 34%)
HSVhsv(293, 72%, 54%)
CMYKcmyk(8%, 72.3%, 0%, 46.3%)
CIE-LABlab(33.20, 50.81, -36.67)
CIE-LCHlch(33.20, 62.66, 324.18°)
OKLaboklab(44.63% 0.136 -0.1023)
OKLCHoklch(44.63% 0.17 323.1)
XYZxyz(13.8122, 7.6288, 24.4070)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2689 #318926
analogous
#4D2689 #7E2689 #892663
triadic
#7E2689 #897E26 #26897E
tetradic
#7E2689 #894D26 #318926 #266389
square
#7E2689 #894D26 #318926 #266389
split-complementary
#7E2689 #638926 #26894D
monochromatic
#260B29 #521959 #7E2689 #AA33B9 #C359D1

Accessibility & contrast

On white

8.31
#7E2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2689
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2689#FFFFFF#000000##FFFFFF
##7E26891.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#803755
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2689;
/* rgb */ color: rgb(126, 38, 137);
/* oklch */ color: oklch(44.6% 0.170 323.1);
Tailwind
colors: {
  custom: {
    50: '#a769ac',
    500: '#7e2689',
    950: '#000000',
  },
}
SCSS
$custom: #7e2689;
$custom-light: #a769ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2689",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 293.333,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.17016,
    "h": 323.1
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#7E2689
secondary
#60B655
accent
#E04859
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2689

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

Preview Lab → · Contrast checker → · Palette generator →

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