#7E3588#7E3588

#7E3588 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.3% C 0.148 H 322.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7E3588
RGBrgb(126, 53, 136)
HSLhsl(293, 44%, 37%)
HSVhsv(293, 61%, 53%)
CMYKcmyk(7.4%, 61%, 0%, 46.7%)
CIE-LABlab(35.52, 44.00, -32.36)
CIE-LCHlch(35.52, 54.62, 323.66°)
OKLaboklab(46.28% 0.1179 -0.0899)
OKLCHoklch(46.28% 0.148 322.7)
XYZxyz(14.3208, 8.7601, 24.2243)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3588 #3F8835
analogous
#553588 #7E3588 #883569
triadic
#7E3588 #887E35 #35887E
tetradic
#7E3588 #885535 #3F8835 #356988
square
#7E3588 #885535 #3F8835 #356988
split-complementary
#7E3588 #698835 #358855
monochromatic
#2C1330 #55245C #7E3588 #A746B4 #BD70C7

Accessibility & contrast

On white

7.63
#7E3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7E3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3588
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3588#FFFFFF#000000##FFFFFF
##7E35881.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#804159
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e3588;
/* rgb */ color: rgb(126, 53, 136);
/* oklch */ color: oklch(46.3% 0.148 322.7);
Tailwind
colors: {
  custom: {
    50: '#a671ab',
    500: '#7e3588',
    950: '#000000',
  },
}
SCSS
$custom: #7e3588;
$custom-light: #a671ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3588",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 292.771,
    "s": 43.915,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.14826,
    "h": 322.7
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#7E3588
secondary
#72B069
accent
#D45464
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E3588

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

Preview Lab → · Contrast checker → · Palette generator →

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