#7E358B#7E358B

#7E358B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.151 H 321.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7E358B
RGBrgb(126, 53, 139)
HSLhsl(291, 45%, 38%)
HSVhsv(291, 62%, 55%)
CMYKcmyk(9.4%, 61.9%, 0%, 45.5%)
CIE-LABlab(35.69, 44.60, -33.94)
CIE-LCHlch(35.69, 56.05, 322.73°)
OKLaboklab(46.46% 0.1181 -0.0944)
OKLCHoklch(46.46% 0.151 321.3)
XYZxyz(14.5370, 8.8466, 25.3629)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E358B #428B35
analogous
#53358B #7E358B #8B356D
triadic
#7E358B #8B7E35 #358B7E
tetradic
#7E358B #8B5335 #428B35 #356D8B
square
#7E358B #8B5335 #428B35 #356D8B
split-complementary
#7E358B #6D8B35 #358B53
monochromatic
#2E1332 #56245F #7E358B #A646B7 #BC71C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E358B#FFFFFF#000000##FFFFFF
##7E358B1.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)
#224F8E
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#7F425B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e358b;
/* rgb */ color: rgb(126, 53, 139);
/* oklch */ color: oklch(46.5% 0.151 321.3);
Tailwind
colors: {
  custom: {
    50: '#a671ad',
    500: '#7e358b',
    950: '#000000',
  },
}
SCSS
$custom: #7e358b;
$custom-light: #a671ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e358b",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 290.93,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.1512,
    "h": 321.3
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#7E358B
secondary
#75B16A
accent
#D45367
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E358B

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

Preview Lab → · Contrast checker → · Palette generator →

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