#7E4AED#7E4AED

#7E4AED is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.230 H 291.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7E4AED
RGBrgb(126, 74, 237)
HSLhsl(259, 82%, 61%)
HSVhsv(259, 69%, 93%)
CMYKcmyk(46.8%, 68.8%, 0%, 7.1%)
CIE-LABlab(46.24, 57.69, -74.43)
CIE-LCHlch(46.24, 94.17, 307.78°)
OKLaboklab(56.19% 0.0859 -0.2133)
OKLCHoklch(56.19% 0.23 291.9)
XYZxyz(26.3347, 15.4467, 81.6983)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4AED #B9ED4A
analogous
#4A67ED #7E4AED #CF4AED
triadic
#7E4AED #ED7E4A #4AED7E
tetradic
#7E4AED #ED4A67 #B9ED4A #4AEDCF
square
#7E4AED #ED4A67 #B9ED4A #4AEDCF
split-complementary
#7E4AED #EDCF4A #67ED4A
monochromatic
#4211AC #5817E3 #7E4AED #A682F3 #CDB9F8

Accessibility & contrast

On white

5.13
#7E4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7E4AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4AED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4AED#FFFFFF#000000##FFFFFF
##7E4AED1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#5B7396
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e4aed;
/* rgb */ color: rgb(126, 74, 237);
/* oklch */ color: oklch(56.2% 0.230 291.9);
Tailwind
colors: {
  custom: {
    50: '#ac80f4',
    500: '#7e4aed',
    950: '#000000',
  },
}
SCSS
$custom: #7e4aed;
$custom-light: #ac80f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4aed",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 259.141,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.22996,
    "h": 291.9
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#7E4AED
secondary
#D5E8AB
accent
#DE079A
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #7E4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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