#7E3389#7E3389

#7E3389 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.152 H 322.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7E3389
RGBrgb(126, 51, 137)
HSLhsl(292, 46%, 37%)
HSVhsv(292, 63%, 54%)
CMYKcmyk(8%, 62.8%, 0%, 46.3%)
CIE-LABlab(35.22, 45.16, -33.45)
CIE-LCHlch(35.22, 56.20, 323.48°)
OKLaboklab(46.09% 0.1206 -0.093)
OKLCHoklch(46.09% 0.152 322.4)
XYZxyz(14.3029, 8.6102, 24.5706)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3389 #3E8933
analogous
#533389 #7E3389 #893369
triadic
#7E3389 #897E33 #33897E
tetradic
#7E3389 #895333 #3E8933 #336989
square
#7E3389 #895333 #3E8933 #336989
split-complementary
#7E3389 #698933 #338953
monochromatic
#2C1230 #55225C #7E3389 #A744B6 #BD6EC9

Accessibility & contrast

On white

7.72
#7E3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3389
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3389#FFFFFF#000000##FFFFFF
##7E33891.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#804059
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e3389;
/* rgb */ color: rgb(126, 51, 137);
/* oklch */ color: oklch(46.1% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#a670ac',
    500: '#7e3389',
    950: '#000000',
  },
}
SCSS
$custom: #7e3389;
$custom-light: #a670ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3389",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 292.326,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.15229,
    "h": 322.4
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#7E3389
secondary
#70B167
accent
#D55263
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E3389

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

Preview Lab → · Contrast checker → · Palette generator →

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