#7E4FE0#7E4FE0

#7E4FE0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.209 H 293.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E4FE0
RGBrgb(126, 79, 224)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 65%, 88%)
CMYKcmyk(43.7%, 64.7%, 0%, 12.2%)
CIE-LABlab(46.19, 51.67, -67.16)
CIE-LCHlch(46.19, 84.73, 307.57°)
OKLaboklab(55.85% 0.0829 -0.192)
OKLCHoklch(55.85% 0.209 293.4)
XYZxyz(24.8510, 15.4087, 72.1714)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FE0 #B1E04F
analogous
#4F69E0 #7E4FE0 #C64FE0
triadic
#7E4FE0 #E07E4F #4FE07E
tetradic
#7E4FE0 #E04F69 #B1E04F #4FE0C6
square
#7E4FE0 #E04F69 #B1E04F #4FE0C6
split-complementary
#7E4FE0 #E0C64F #69E04F
monochromatic
#441B9A #5B24CE #7E4FE0 #A483E9 #CAB7F2

Accessibility & contrast

On white

5.14
#7E4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7E4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FE0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FE0#FFFFFF#000000##FFFFFF
##7E4FE01.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#627191
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4fe0;
/* rgb */ color: rgb(126, 79, 224);
/* oklch */ color: oklch(55.8% 0.209 293.4);
Tailwind
colors: {
  custom: {
    50: '#aa83eb',
    500: '#7e4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fe0;
$custom-light: #aa83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fe0",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 259.448,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.2091,
    "h": 293.4
  },
  "luminance": 0.15409
}

Semantic roles & 50–950 ramp

primary
#7E4FE0
secondary
#CFE2A9
accent
#ED3BB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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