#7E4EE1#7E4EE1

#7E4EE1 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.212 H 293.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E4EE1
RGBrgb(126, 78, 225)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(44%, 65.3%, 0%, 11.8%)
CIE-LABlab(46.07, 52.46, -67.92)
CIE-LCHlch(46.07, 85.82, 307.68°)
OKLaboklab(55.78% 0.0838 -0.1942)
OKLCHoklch(55.78% 0.212 293.3)
XYZxyz(24.9155, 15.3199, 72.8639)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EE1 #B1E14E
analogous
#4E68E1 #7E4EE1 #C84EE1
triadic
#7E4EE1 #E17E4E #4EE17E
tetradic
#7E4EE1 #E14E68 #B1E14E #4EE1C8
square
#7E4EE1 #E14E68 #B1E14E #4EE1C8
split-complementary
#7E4EE1 #E1C84E #68E14E
monochromatic
#441A9A #5B23CF #7E4EE1 #A482EA #CAB7F3

Accessibility & contrast

On white

5.17
#7E4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7E4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4EE1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4EE1#FFFFFF#000000##FFFFFF
##7E4EE11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e4ee1;
/* rgb */ color: rgb(126, 78, 225);
/* oklch */ color: oklch(55.8% 0.212 293.3);
Tailwind
colors: {
  custom: {
    50: '#ab82eb',
    500: '#7e4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ee1;
$custom-light: #ab82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ee1",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 259.592,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.21151,
    "h": 293.3
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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