#7E4D94#7E4D94

#7E4D94 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.5% C 0.121 H 314.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7E4D94
RGBrgb(126, 77, 148)
HSLhsl(281, 32%, 44%)
HSVhsv(281, 48%, 58%)
CMYKcmyk(14.9%, 48%, 0%, 42%)
CIE-LABlab(41.03, 33.69, -30.99)
CIE-LCHlch(41.03, 45.77, 317.39°)
OKLaboklab(50.55% 0.0848 -0.086)
OKLCHoklch(50.55% 0.121 314.6)
XYZxyz(16.6025, 11.8819, 29.4301)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4D94 #63944D
analogous
#5A4D94 #7E4D94 #944D87
triadic
#7E4D94 #947E4D #4D947E
tetradic
#7E4D94 #945A4D #63944D #4D8794
square
#7E4D94 #945A4D #63944D #4D8794
split-complementary
#7E4D94 #87944D #4D945A
monochromatic
#392343 #5C386C #7E4D94 #9D6CB2 #B794C7

Accessibility & contrast

On white

6.22
#7E4D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7E4D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4D94
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4D94#FFFFFF#000000##FFFFFF
##7E4D941.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E96
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#7C5769
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e4d94;
/* rgb */ color: rgb(126, 77, 148);
/* oklch */ color: oklch(50.5% 0.121 314.6);
Tailwind
colors: {
  custom: {
    50: '#a580b4',
    500: '#7e4d94',
    950: '#000000',
  },
}
SCSS
$custom: #7e4d94;
$custom-light: #a580b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4d94",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 148
  },
  "hsl": {
    "h": 281.408,
    "s": 31.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.12081,
    "h": 314.6
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#7E4D94
secondary
#96B489
accent
#C86080
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7E4D94

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

Preview Lab → · Contrast checker → · Palette generator →

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