#7E4FE6#7E4FE6

#7E4FE6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.216 H 292.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E4FE6
RGBrgb(126, 79, 230)
HSLhsl(259, 75%, 61%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(45.2%, 65.7%, 0%, 9.8%)
CIE-LABlab(46.63, 53.27, -69.84)
CIE-LCHlch(46.63, 87.84, 307.34°)
OKLaboklab(56.31% 0.0822 -0.1998)
OKLCHoklch(56.31% 0.216 292.4)
XYZxyz(25.6791, 15.7399, 76.5327)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FE6 #B7E64F
analogous
#4F6CE6 #7E4FE6 #C94FE6
triadic
#7E4FE6 #E67E4F #4FE67E
tetradic
#7E4FE6 #E64F6C #B7E64F #4FE6C9
square
#7E4FE6 #E64F6C #B7E64F #4FE6C9
split-complementary
#7E4FE6 #E6C94F #6CE64F
monochromatic
#4317A3 #591FD9 #7E4FE6 #A585EE #CDBAF5

Accessibility & contrast

On white

5.06
#7E4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7E4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FE6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FE6#FFFFFF#000000##FFFFFF
##7E4FE61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#5F7494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e4fe6;
/* rgb */ color: rgb(126, 79, 230);
/* oklch */ color: oklch(56.3% 0.216 292.4);
Tailwind
colors: {
  custom: {
    50: '#ab83ef',
    500: '#7e4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fe6;
$custom-light: #ab83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fe6",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 258.675,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.21609,
    "h": 292.4
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#7E4FE6
secondary
#D3E5AC
accent
#D70E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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