#7E3584#7E3584

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

Color values

HEX#7E3584
RGBrgb(126, 53, 132)
HSLhsl(295, 43%, 36%)
HSVhsv(295, 60%, 52%)
CMYKcmyk(4.5%, 59.8%, 0%, 48.2%)
CIE-LABlab(35.30, 43.21, -30.24)
CIE-LCHlch(35.30, 52.74, 325.01°)
OKLaboklab(46.05% 0.1176 -0.0837)
OKLCHoklch(46.05% 0.144 324.6)
XYZxyz(14.0418, 8.6485, 22.7550)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3584 #3B8435
analogous
#573584 #7E3584 #843563
triadic
#7E3584 #847E35 #35847E
tetradic
#7E3584 #845735 #3B8435 #356384
square
#7E3584 #845735 #3B8435 #356384
split-complementary
#7E3584 #638435 #358457
monochromatic
#2B122D #542358 #7E3584 #A847B0 #BE6EC5

Accessibility & contrast

On white

7.69
#7E3584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7E3584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3584
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3584#FFFFFF#000000##FFFFFF
##7E35841.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D86
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#814057
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e3584;
/* rgb */ color: rgb(126, 53, 132);
/* oklch */ color: oklch(46.1% 0.144 324.6);
Tailwind
colors: {
  custom: {
    50: '#a671a8',
    500: '#7e3584',
    950: '#000000',
  },
}
SCSS
$custom: #7e3584;
$custom-light: #a671a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3584",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 132
  },
  "hsl": {
    "h": 295.443,
    "s": 42.703,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.14436,
    "h": 324.6
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#7E3584
secondary
#6DAD68
accent
#D2555F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E3584

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

Preview Lab → · Contrast checker → · Palette generator →

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