#7E4EE9#7E4EE9

#7E4EE9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.221 H 292.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E4EE9
RGBrgb(126, 78, 233)
HSLhsl(259, 78%, 61%)
HSVhsv(259, 67%, 91%)
CMYKcmyk(45.9%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.67, 54.59, -71.48)
CIE-LCHlch(46.67, 89.94, 307.37°)
OKLaboklab(56.4% 0.0828 -0.2047)
OKLCHoklch(56.4% 0.221 292)
XYZxyz(26.0325, 15.7667, 78.7466)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EE9 #B9E94E
analogous
#4E6BE9 #7E4EE9 #CC4EE9
triadic
#7E4EE9 #E97E4E #4EE97E
tetradic
#7E4EE9 #E94E6B #B9E94E #4EE9CC
square
#7E4EE9 #E94E6B #B9E94E #4EE9CC
split-complementary
#7E4EE9 #E9CC4E #6BE94E
monochromatic
#4215A8 #581CDE #7E4EE9 #A684F0 #CDBBF7

Accessibility & contrast

On white

5.06
#7E4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7E4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4EE9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4EE9#FFFFFF#000000##FFFFFF
##7E4EE91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#5D7495
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e4ee9;
/* rgb */ color: rgb(126, 78, 233);
/* oklch */ color: oklch(56.4% 0.221 292.0);
Tailwind
colors: {
  custom: {
    50: '#ab83f1',
    500: '#7e4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ee9;
$custom-light: #ab83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ee9",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 258.581,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.22076,
    "h": 292
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#7E4EE9
secondary
#D5E7AC
accent
#DA0B9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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