#7E4FF6#7E4FF6

#7E4FF6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.234 H 289.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E4FF6
RGBrgb(126, 79, 246)
HSLhsl(257, 90%, 64%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48.8%, 67.9%, 0%, 3.5%)
CIE-LABlab(47.85, 57.58, -76.84)
CIE-LCHlch(47.85, 96.02, 306.84°)
OKLaboklab(57.56% 0.0799 -0.2204)
OKLCHoklch(57.56% 0.234 289.9)
XYZxyz(28.0299, 16.6802, 88.9136)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FF6 #C7F64F
analogous
#4F73F6 #7E4FF6 #D14FF6
triadic
#7E4FF6 #F67E4F #4FF67E
tetradic
#7E4FF6 #F64F73 #C7F64F #4FF6D1
square
#7E4FF6 #F64F73 #C7F64F #4FF6D1
split-complementary
#7E4FF6 #F6D14F #73F64F
monochromatic
#3D0AC1 #5315F3 #7E4FF6 #A989F9 #D3C3FC

Accessibility & contrast

On white

4.84
#7E4FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7E4FF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FF6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FF6#FFFFFF#000000##FFFFFF
##7E4FF61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#006EF3
Tritanopia (blue-blind)
#55799D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e4ff6;
/* rgb */ color: rgb(126, 79, 246);
/* oklch */ color: oklch(57.6% 0.234 289.9);
Tailwind
colors: {
  custom: {
    50: '#ad84fa',
    500: '#7e4ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ff6;
$custom-light: #ad84fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ff6",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 246
  },
  "hsl": {
    "h": 256.886,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.23445,
    "h": 289.9
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E4FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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