#7E358C#7E358C

#7E358C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.5% C 0.152 H 320.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7E358C
RGBrgb(126, 53, 140)
HSLhsl(290, 45%, 38%)
HSVhsv(290, 62%, 55%)
CMYKcmyk(10%, 62.1%, 0%, 45.1%)
CIE-LABlab(35.74, 44.81, -34.47)
CIE-LCHlch(35.74, 56.53, 322.43°)
OKLaboklab(46.52% 0.1181 -0.096)
OKLCHoklch(46.52% 0.152 320.9)
XYZxyz(14.6104, 8.8760, 25.7495)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E358C #438C35
analogous
#52358C #7E358C #8C356E
triadic
#7E358C #8C7E35 #358C7E
tetradic
#7E358C #8C5235 #438C35 #356E8C
square
#7E358C #8C5235 #438C35 #356E8C
split-complementary
#7E358C #6E8C35 #358C52
monochromatic
#2E1333 #562460 #7E358C #A646B8 #BB72CA

Accessibility & contrast

On white

7.57
#7E358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E358C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E358C#FFFFFF#000000##FFFFFF
##7E358C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#7F435B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e358c;
/* rgb */ color: rgb(126, 53, 140);
/* oklch */ color: oklch(46.5% 0.152 320.9);
Tailwind
colors: {
  custom: {
    50: '#a671ae',
    500: '#7e358c',
    950: '#000000',
  },
}
SCSS
$custom: #7e358c;
$custom-light: #a671ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e358c",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 290.345,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.1522,
    "h": 320.9
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#7E358C
secondary
#76B26B
accent
#D55368
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7E358C

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

Preview Lab → · Contrast checker → · Palette generator →

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