#7E4EE3#7E4EE3

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

Color values

HEX#7E4EE3
RGBrgb(126, 78, 227)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(44.5%, 65.6%, 0%, 11%)
CIE-LABlab(46.22, 52.99, -68.81)
CIE-LCHlch(46.22, 86.85, 307.60°)
OKLaboklab(55.94% 0.0836 -0.1968)
OKLCHoklch(55.94% 0.214 293)
XYZxyz(25.1899, 15.4297, 74.3092)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EE3 #B3E34E
analogous
#4E68E3 #7E4EE3 #C94EE3
triadic
#7E4EE3 #E37E4E #4EE37E
tetradic
#7E4EE3 #E34E68 #B3E34E #4EE3C9
square
#7E4EE3 #E34E68 #B3E34E #4EE3C9
split-complementary
#7E4EE3 #E3C94E #68E34E
monochromatic
#44199E #5A21D3 #7E4EE3 #A583EB #CBB8F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E4EE3#FFFFFF#000000##FFFFFF
##7E4EE31.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#617292
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4ee3;
/* rgb */ color: rgb(126, 78, 227);
/* oklch */ color: oklch(55.9% 0.214 293.0);
Tailwind
colors: {
  custom: {
    50: '#ab82ed',
    500: '#7e4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ee3;
$custom-light: #ab82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ee3",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 259.329,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.21383,
    "h": 293
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#7E4EE3
secondary
#D1E3AA
accent
#EF38B4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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