#7E4E92#7E4E92

#7E4E92 is a mid, moderate purple. Relative luminance 0.120; OKLCH L 50.6% C 0.117 H 315.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7E4E92
RGBrgb(126, 78, 146)
HSLhsl(282, 30%, 44%)
HSVhsv(282, 47%, 57%)
CMYKcmyk(13.7%, 46.6%, 0%, 42.7%)
CIE-LABlab(41.15, 32.67, -29.59)
CIE-LCHlch(41.15, 44.07, 317.83°)
OKLaboklab(50.61% 0.083 -0.082)
OKLCHoklch(50.61% 0.117 315.3)
XYZxyz(16.5161, 11.9602, 28.6271)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E92 #62924E
analogous
#5C4E92 #7E4E92 #924E84
triadic
#7E4E92 #927E4E #4E927E
tetradic
#7E4E92 #925C4E #62924E #4E8492
square
#7E4E92 #925C4E #62924E #4E8492
split-complementary
#7E4E92 #84924E #4E925C
monochromatic
#392342 #5C396A #7E4E92 #9D6CB1 #B794C6

Accessibility & contrast

On white

6.19
#7E4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7E4E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E92
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E92#FFFFFF#000000##FFFFFF
##7E4E921.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#4E6290
Tritanopia (blue-blind)
#7D5869
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e4e92;
/* rgb */ color: rgb(126, 78, 146);
/* oklch */ color: oklch(50.6% 0.117 315.3);
Tailwind
colors: {
  custom: {
    50: '#a581b2',
    500: '#7e4e92',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e92;
$custom-light: #a581b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e92",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 282.353,
    "s": 30.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5061,
    "c": 0.11665,
    "h": 315.3
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#7E4E92
secondary
#95B389
accent
#C7617F
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7E4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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