#7E3586#7E3586

#7E3586 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.146 H 323.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7E3586
RGBrgb(126, 53, 134)
HSLhsl(294, 43%, 37%)
HSVhsv(294, 60%, 53%)
CMYKcmyk(6%, 60.4%, 0%, 47.5%)
CIE-LABlab(35.41, 43.60, -31.30)
CIE-LCHlch(35.41, 53.67, 324.32°)
OKLaboklab(46.17% 0.1178 -0.0868)
OKLCHoklch(46.17% 0.146 323.6)
XYZxyz(14.1800, 8.7038, 23.4827)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3586 #3D8635
analogous
#563586 #7E3586 #863566
triadic
#7E3586 #867E35 #35867E
tetradic
#7E3586 #865635 #3D8635 #356686
square
#7E3586 #865635 #3D8635 #356686
split-complementary
#7E3586 #668635 #358656
monochromatic
#2C122E #55245A #7E3586 #A746B2 #BE6FC6

Accessibility & contrast

On white

7.66
#7E3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7E3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3586
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3586#FFFFFF#000000##FFFFFF
##7E35861.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#804058
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e3586;
/* rgb */ color: rgb(126, 53, 134);
/* oklch */ color: oklch(46.2% 0.146 323.6);
Tailwind
colors: {
  custom: {
    50: '#a671a9',
    500: '#7e3586',
    950: '#000000',
  },
}
SCSS
$custom: #7e3586;
$custom-light: #a671a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3586",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 294.074,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.1463,
    "h": 323.6
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

primary
#7E3586
secondary
#6FAE68
accent
#D35561
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E3586

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

Preview Lab → · Contrast checker → · Palette generator →

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