#7E3688#7E3688

#7E3688 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.147 H 322.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7E3688
RGBrgb(126, 54, 136)
HSLhsl(293, 43%, 37%)
HSVhsv(293, 60%, 53%)
CMYKcmyk(7.4%, 60.3%, 0%, 46.7%)
CIE-LABlab(35.70, 43.51, -32.08)
CIE-LCHlch(35.70, 54.05, 323.60°)
OKLaboklab(46.41% 0.1166 -0.089)
OKLCHoklch(46.41% 0.147 322.6)
XYZxyz(14.3668, 8.8523, 24.2397)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3688 #408836
analogous
#553688 #7E3688 #883669
triadic
#7E3688 #887E36 #36887E
tetradic
#7E3688 #885536 #408836 #366988
square
#7E3688 #885536 #408836 #366988
split-complementary
#7E3688 #698836 #368855
monochromatic
#2D1330 #55255C #7E3688 #A747B4 #BC72C7

Accessibility & contrast

On white

7.58
#7E3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7E3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3688
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3688#FFFFFF#000000##FFFFFF
##7E36881.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#80425A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e3688;
/* rgb */ color: rgb(126, 54, 136);
/* oklch */ color: oklch(46.4% 0.147 322.6);
Tailwind
colors: {
  custom: {
    50: '#a671ab',
    500: '#7e3688',
    950: '#000000',
  },
}
SCSS
$custom: #7e3688;
$custom-light: #a671ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3688",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 292.683,
    "s": 43.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.14669,
    "h": 322.6
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#7E3688
secondary
#73AF6A
accent
#D35564
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E3688

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

Preview Lab → · Contrast checker → · Palette generator →

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