#7E4FF5#7E4FF5

#7E4FF5 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.233 H 290.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E4FF5
RGBrgb(126, 79, 245)
HSLhsl(257, 89%, 64%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48.6%, 67.8%, 0%, 3.9%)
CIE-LABlab(47.78, 57.31, -76.41)
CIE-LCHlch(47.78, 95.51, 306.87°)
OKLaboklab(57.48% 0.08 -0.2192)
OKLCHoklch(57.48% 0.233 290.1)
XYZxyz(27.8769, 16.6190, 88.1074)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FF5 #C6F54F
analogous
#4F73F5 #7E4FF5 #D14FF5
triadic
#7E4FF5 #F57E4F #4FF57E
tetradic
#7E4FF5 #F54F73 #C6F54F #4FF5D1
square
#7E4FF5 #F54F73 #C6F54F #4FF5D1
split-complementary
#7E4FF5 #F5D14F #73F54F
monochromatic
#3E0BBF #5415F2 #7E4FF5 #A889F8 #D3C3FC

Accessibility & contrast

On white

4.86
#7E4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7E4FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FF5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FF5#FFFFFF#000000##FFFFFF
##7E4FF51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#56799C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e4ff5;
/* rgb */ color: rgb(126, 79, 245);
/* oklch */ color: oklch(57.5% 0.233 290.1);
Tailwind
colors: {
  custom: {
    50: '#ad84fa',
    500: '#7e4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ff5;
$custom-light: #ad84fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ff5",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 256.988,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.23331,
    "h": 290.1
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#7E4FF5
secondary
#DDEDB2
accent
#E600A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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