#7E4E91#7E4E91

#7E4E91 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.6% C 0.115 H 315.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E4E91
RGBrgb(126, 78, 145)
HSLhsl(283, 30%, 44%)
HSVhsv(283, 46%, 57%)
CMYKcmyk(13.1%, 46.2%, 0%, 43.1%)
CIE-LABlab(41.10, 32.44, -29.06)
CIE-LCHlch(41.10, 43.55, 318.15°)
OKLaboklab(50.56% 0.0828 -0.0805)
OKLCHoklch(50.56% 0.115 315.8)
XYZxyz(16.4386, 11.9292, 28.2192)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E91 #61914E
analogous
#5C4E91 #7E4E91 #914E82
triadic
#7E4E91 #917E4E #4E917E
tetradic
#7E4E91 #915C4E #61914E #4E8291
square
#7E4E91 #915C4E #61914E #4E8291
split-complementary
#7E4E91 #82914E #4E915C
monochromatic
#392341 #5B3969 #7E4E91 #9D6CB0 #B794C5

Accessibility & contrast

On white

6.20
#7E4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E4E91
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E91#FFFFFF#000000##FFFFFF
##7E4E911.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E93
Deuteranopia (green-blind)
#4F628F
Tritanopia (blue-blind)
#7D5768
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e4e91;
/* rgb */ color: rgb(126, 78, 145);
/* oklch */ color: oklch(50.6% 0.115 315.8);
Tailwind
colors: {
  custom: {
    50: '#a581b1',
    500: '#7e4e91',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e91;
$custom-light: #a581b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e91",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 282.985,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.11545,
    "h": 315.8
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#7E4E91
secondary
#95B289
accent
#C6627E
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7E4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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