#7E358E#7E358E

#7E358E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.6% C 0.154 H 320.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7E358E
RGBrgb(126, 53, 142)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 56%)
CMYKcmyk(11.3%, 62.7%, 0%, 44.3%)
CIE-LABlab(35.86, 45.21, -35.51)
CIE-LCHlch(35.86, 57.49, 321.86°)
OKLaboklab(46.64% 0.1182 -0.099)
OKLCHoklch(46.64% 0.154 320.1)
XYZxyz(14.7592, 8.9355, 26.5332)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E358E #458E35
analogous
#51358E #7E358E #8E3571
triadic
#7E358E #8E7E35 #358E7E
tetradic
#7E358E #8E5135 #458E35 #35718E
square
#7E358E #8E5135 #458E35 #35718E
split-complementary
#7E358E #718E35 #358E51
monochromatic
#2F1435 #562461 #7E358E #A546BA #BB73CB

Accessibility & contrast

On white

7.53
#7E358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E358E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E358E#FFFFFF#000000##FFFFFF
##7E358E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#7F435C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e358e;
/* rgb */ color: rgb(126, 53, 142);
/* oklch */ color: oklch(46.6% 0.154 320.1);
Tailwind
colors: {
  custom: {
    50: '#a671af',
    500: '#7e358e',
    950: '#000000',
  },
}
SCSS
$custom: #7e358e;
$custom-light: #a671af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e358e",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 289.213,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.15418,
    "h": 320.1
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#7E358E
secondary
#79B36C
accent
#D5526A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E358E

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

Preview Lab → · Contrast checker → · Palette generator →

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