#7E4FE9#7E4FE9

#7E4FE9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.220 H 291.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E4FE9
RGBrgb(126, 79, 233)
HSLhsl(258, 78%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(45.9%, 66.1%, 0%, 8.6%)
CIE-LABlab(46.86, 54.08, -71.17)
CIE-LCHlch(46.86, 89.38, 307.23°)
OKLaboklab(56.54% 0.0818 -0.2038)
OKLCHoklch(56.54% 0.22 291.9)
XYZxyz(26.1040, 15.9099, 78.7705)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FE9 #BAE94F
analogous
#4F6DE9 #7E4FE9 #CB4FE9
triadic
#7E4FE9 #E97E4F #4FE97E
tetradic
#7E4FE9 #E94F6D #BAE94F #4FE9CB
square
#7E4FE9 #E94F6D #BAE94F #4FE9CB
split-complementary
#7E4FE9 #E9CB4F #6DE94F
monochromatic
#4215A9 #571CDF #7E4FE9 #A685F0 #CEBCF7

Accessibility & contrast

On white

5.02
#7E4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FE9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FE9#FFFFFF#000000##FFFFFF
##7E4FE91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5D7595
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e4fe9;
/* rgb */ color: rgb(126, 79, 233);
/* oklch */ color: oklch(56.5% 0.220 291.9);
Tailwind
colors: {
  custom: {
    50: '#ab83f1',
    500: '#7e4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fe9;
$custom-light: #ab83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fe9",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 258.312,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.21956,
    "h": 291.9
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#7E4FE9
secondary
#D5E7AD
accent
#DA0B9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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