#7E4EE6#7E4EE6

#7E4EE6 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.217 H 292.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7E4EE6
RGBrgb(126, 78, 230)
HSLhsl(259, 75%, 60%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(45.2%, 66.1%, 0%, 9.8%)
CIE-LABlab(46.44, 53.79, -70.15)
CIE-LCHlch(46.44, 88.40, 307.48°)
OKLaboklab(56.17% 0.0832 -0.2008)
OKLCHoklch(56.17% 0.217 292.5)
XYZxyz(25.6076, 15.5967, 76.5088)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EE6 #B6E64E
analogous
#4E6AE6 #7E4EE6 #CA4EE6
triadic
#7E4EE6 #E67E4E #4EE67E
tetradic
#7E4EE6 #E64E6A #B6E64E #4EE6CA
square
#7E4EE6 #E64E6A #B6E64E #4EE6CA
split-complementary
#7E4EE6 #E6CA4E #6AE64E
monochromatic
#4317A3 #591FD8 #7E4EE6 #A584EE #CCB9F5

Accessibility & contrast

On white

5.10
#7E4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7E4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4EE6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4EE6#FFFFFF#000000##FFFFFF
##7E4EE61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#5F7394
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e4ee6;
/* rgb */ color: rgb(126, 78, 230);
/* oklch */ color: oklch(56.2% 0.217 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab83ef',
    500: '#7e4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ee6;
$custom-light: #ab83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ee6",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 258.947,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.21731,
    "h": 292.5
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

primary
#7E4EE6
secondary
#D3E5AB
accent
#D70E98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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