#7E4EE0#7E4EE0

#7E4EE0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.210 H 293.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E4EE0
RGBrgb(126, 78, 224)
HSLhsl(260, 70%, 59%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(43.7%, 65.2%, 0%, 12.2%)
CIE-LABlab(46.00, 52.19, -67.47)
CIE-LCHlch(46.00, 85.30, 307.72°)
OKLaboklab(55.71% 0.0839 -0.1929)
OKLCHoklch(55.71% 0.21 293.5)
XYZxyz(24.7795, 15.2655, 72.1475)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EE0 #B0E04E
analogous
#4E67E0 #7E4EE0 #C74EE0
triadic
#7E4EE0 #E07E4E #4EE07E
tetradic
#7E4EE0 #E04E67 #B0E04E #4EE0C7
square
#7E4EE0 #E04E67 #B0E04E #4EE0C7
split-complementary
#7E4EE0 #E0C74E #67E04E
monochromatic
#441B99 #5B24CD #7E4EE0 #A482E9 #CAB6F2

Accessibility & contrast

On white

5.18
#7E4EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7E4EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4EE0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4EE0#FFFFFF#000000##FFFFFF
##7E4EE01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#627190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4ee0;
/* rgb */ color: rgb(126, 78, 224);
/* oklch */ color: oklch(55.7% 0.210 293.5);
Tailwind
colors: {
  custom: {
    50: '#aa82eb',
    500: '#7e4ee0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ee0;
$custom-light: #aa82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ee0",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 259.726,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55708,
    "c": 0.21035,
    "h": 293.5
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#7E4EE0
secondary
#CFE1A8
accent
#ED3BB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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