#7E4ADD#7E4ADD

#7E4ADD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.212 H 294.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7E4ADD
RGBrgb(126, 74, 221)
HSLhsl(261, 68%, 58%)
HSVhsv(261, 67%, 87%)
CMYKcmyk(43%, 66.5%, 0%, 13.3%)
CIE-LABlab(45.02, 53.47, -67.36)
CIE-LCHlch(45.02, 86.00, 308.44°)
OKLaboklab(54.93% 0.0884 -0.1925)
OKLCHoklch(54.93% 0.212 294.6)
XYZxyz(24.1006, 14.5530, 69.9318)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4ADD #A9DD4A
analogous
#4A60DD #7E4ADD #C74ADD
triadic
#7E4ADD #DD7E4A #4ADD7E
tetradic
#7E4ADD #DD4A60 #A9DD4A #4ADDC7
square
#7E4ADD #DD4A60 #A9DD4A #4ADDC7
split-complementary
#7E4ADD #DDC74A #60DD4A
monochromatic
#451B91 #5E25C5 #7E4ADD #A37EE7 #C7B1F0

Accessibility & contrast

On white

5.37
#7E4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7E4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4ADD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4ADD#FFFFFF#000000##FFFFFF
##7E4ADD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#646D8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e4add;
/* rgb */ color: rgb(126, 74, 221);
/* oklch */ color: oklch(54.9% 0.212 294.6);
Tailwind
colors: {
  custom: {
    50: '#aa80e9',
    500: '#7e4add',
    950: '#000000',
  },
}
SCSS
$custom: #7e4add;
$custom-light: #aa80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4add",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 261.224,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.21184,
    "h": 294.6
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#7E4ADD
secondary
#CADFA4
accent
#EB3DAD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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