#7E4FED#7E4FED

#7E4FED is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.224 H 291.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7E4FED
RGBrgb(126, 79, 237)
HSLhsl(258, 81%, 62%)
HSVhsv(258, 67%, 93%)
CMYKcmyk(46.8%, 66.7%, 0%, 7.1%)
CIE-LABlab(47.16, 55.15, -72.93)
CIE-LCHlch(47.16, 91.44, 307.10°)
OKLaboklab(56.85% 0.0812 -0.2089)
OKLCHoklch(56.85% 0.224 291.2)
XYZxyz(26.6819, 16.1410, 81.8140)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FED #BEED4F
analogous
#4F6FED #7E4FED #CD4FED
triadic
#7E4FED #ED7E4F #4FED7E
tetradic
#7E4FED #ED4F6F #BEED4F #4FEDCD
square
#7E4FED #ED4F6F #BEED4F #4FEDCD
split-complementary
#7E4FED #EDCD4F #6FED4F
monochromatic
#4112B0 #5518E7 #7E4FED #A787F3 #CFBEF8

Accessibility & contrast

On white

4.97
#7E4FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7E4FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FED
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FED#FFFFFF#000000##FFFFFF
##7E4FED1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#5B7698
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e4fed;
/* rgb */ color: rgb(126, 79, 237);
/* oklch */ color: oklch(56.8% 0.224 291.2);
Tailwind
colors: {
  custom: {
    50: '#ac83f4',
    500: '#7e4fed',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fed;
$custom-light: #ac83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fed",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 257.848,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.22417,
    "h": 291.2
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#7E4FED
secondary
#D8E9AF
accent
#DE089E
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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