#7E358F#7E358F

#7E358F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.7% C 0.155 H 319.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7E358F
RGBrgb(126, 53, 143)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 56%)
CMYKcmyk(11.9%, 62.9%, 0%, 43.9%)
CIE-LABlab(35.92, 45.42, -36.03)
CIE-LCHlch(35.92, 57.97, 321.58°)
OKLaboklab(46.7% 0.1182 -0.1005)
OKLCHoklch(46.7% 0.155 319.6)
XYZxyz(14.8346, 8.9657, 26.9304)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E358F #468F35
analogous
#51358F #7E358F #8F3573
triadic
#7E358F #8F7E35 #358F7E
tetradic
#7E358F #8F5135 #468F35 #35738F
square
#7E358F #8F5135 #468F35 #35738F
split-complementary
#7E358F #738F35 #358F51
monochromatic
#2F1436 #572462 #7E358F #A547BB #BB73CB

Accessibility & contrast

On white

7.52
#7E358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E358F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E358F#FFFFFF#000000##FFFFFF
##7E358F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#7E445D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e358f;
/* rgb */ color: rgb(126, 53, 143);
/* oklch */ color: oklch(46.7% 0.155 319.6);
Tailwind
colors: {
  custom: {
    50: '#a671b0',
    500: '#7e358f',
    950: '#000000',
  },
}
SCSS
$custom: #7e358f;
$custom-light: #a671b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e358f",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 288.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.15519,
    "h": 319.6
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#7E358F
secondary
#7AB46C
accent
#D6526B
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E358F

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

Preview Lab → · Contrast checker → · Palette generator →

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