#7E4FF4#7E4FF4

#7E4FF4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.232 H 290.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E4FF4
RGBrgb(126, 79, 244)
HSLhsl(257, 88%, 63%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48.4%, 67.6%, 0%, 4.3%)
CIE-LABlab(47.70, 57.04, -75.98)
CIE-LCHlch(47.70, 95.01, 306.89°)
OKLaboklab(57.4% 0.0802 -0.2179)
OKLCHoklch(57.4% 0.232 290.2)
XYZxyz(27.7246, 16.5581, 87.3056)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FF4 #C5F44F
analogous
#4F72F4 #7E4FF4 #D04FF4
triadic
#7E4FF4 #F47E4F #4FF47E
tetradic
#7E4FF4 #F44F72 #C5F44F #4FF4D0
square
#7E4FF4 #F44F72 #C5F44F #4FF4D0
split-complementary
#7E4FF4 #F4D04F #72F44F
monochromatic
#3E0CBD #5415F0 #7E4FF4 #A889F8 #D2C2FB

Accessibility & contrast

On white

4.87
#7E4FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7E4FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FF4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FF4#FFFFFF#000000##FFFFFF
##7E4FF41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#57799B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e4ff4;
/* rgb */ color: rgb(126, 79, 244);
/* oklch */ color: oklch(57.4% 0.232 290.2);
Tailwind
colors: {
  custom: {
    50: '#ad84f9',
    500: '#7e4ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ff4;
$custom-light: #ad84f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ff4",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 257.091,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.23217,
    "h": 290.2
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#7E4FF4
secondary
#DCEDB2
accent
#E501A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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