#7E4EE4#7E4EE4

#7E4EE4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.215 H 292.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7E4EE4
RGBrgb(126, 78, 228)
HSLhsl(259, 74%, 60%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(44.7%, 65.8%, 0%, 10.6%)
CIE-LABlab(46.29, 53.26, -69.26)
CIE-LCHlch(46.29, 87.37, 307.56°)
OKLaboklab(56.01% 0.0834 -0.1981)
OKLCHoklch(56.01% 0.215 292.8)
XYZxyz(25.3283, 15.4851, 75.0381)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EE4 #B4E44E
analogous
#4E69E4 #7E4EE4 #C94EE4
triadic
#7E4EE4 #E47E4E #4EE47E
tetradic
#7E4EE4 #E44E69 #B4E44E #4EE4C9
square
#7E4EE4 #E44E69 #B4E44E #4EE4C9
split-complementary
#7E4EE4 #E4C94E #69E44E
monochromatic
#44189F #5A20D4 #7E4EE4 #A583EC #CBB8F4

Accessibility & contrast

On white

5.13
#7E4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7E4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4EE4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4EE4#FFFFFF#000000##FFFFFF
##7E4EE41.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#607292
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e4ee4;
/* rgb */ color: rgb(126, 78, 228);
/* oklch */ color: oklch(56.0% 0.215 292.8);
Tailwind
colors: {
  custom: {
    50: '#ab82ed',
    500: '#7e4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ee4;
$custom-light: #ab82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ee4",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 259.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.21499,
    "h": 292.8
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#7E4EE4
secondary
#D1E4AA
accent
#F038B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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