#7E4AD0#7E4AD0

#7E4AD0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.197 H 297.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7E4AD0
RGBrgb(126, 74, 208)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 64%, 82%)
CMYKcmyk(39.4%, 64.4%, 0%, 18.4%)
CIE-LABlab(44.07, 50.08, -61.45)
CIE-LCHlch(44.07, 79.27, 309.18°)
OKLaboklab(53.96% 0.0899 -0.1752)
OKLCHoklch(53.96% 0.197 297.2)
XYZxyz(22.4352, 13.8869, 61.1607)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4AD0 #9CD04A
analogous
#4A59D0 #7E4AD0 #C14AD0
triadic
#7E4AD0 #D07E4A #4AD07E
tetradic
#7E4AD0 #D04A59 #9CD04A #4AD0C1
square
#7E4AD0 #D04A59 #9CD04A #4AD0C1
split-complementary
#7E4AD0 #D0C14A #59D04A
monochromatic
#45217F #602EAF #7E4AD0 #A17BDD #C3ABE9

Accessibility & contrast

On white

5.56
#7E4AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7E4AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4AD0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4AD0#FFFFFF#000000##FFFFFF
##7E4AD01.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#6A6986
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e4ad0;
/* rgb */ color: rgb(126, 74, 208);
/* oklch */ color: oklch(54.0% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#a97fdf',
    500: '#7e4ad0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ad0;
$custom-light: #a97fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ad0",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 208
  },
  "hsl": {
    "h": 263.284,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.19688,
    "h": 297.2
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#7E4AD0
secondary
#C1D79F
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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