#7E5EE4#7E5EE4

#7E5EE4 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.194 H 290.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE4
RGBrgb(126, 94, 228)
HSLhsl(254, 71%, 63%)
HSVhsv(254, 59%, 89%)
CMYKcmyk(44.7%, 58.8%, 0%, 10.6%)
CIE-LABlab(49.55, 44.55, -63.98)
CIE-LCHlch(49.55, 77.97, 304.85°)
OKLaboklab(58.38% 0.0666 -0.1826)
OKLCHoklch(58.38% 0.194 290)
XYZxyz(26.6065, 18.0415, 75.4642)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE4 #C4E45E
analogous
#5E81E4 #7E5EE4 #C15EE4
triadic
#7E5EE4 #E47E5E #5EE47E
tetradic
#7E5EE4 #E45E81 #C4E45E #5EE4C1
square
#7E5EE4 #E45E81 #C4E45E #5EE4C1
split-complementary
#7E5EE4 #E4C15E #81E45E
monochromatic
#3F1DAB #542ADB #7E5EE4 #A892ED #D2C7F6

Accessibility & contrast

On white

4.56
#7E5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E5EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE4#FFFFFF#000000##000000
##7E5EE41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#5F7C98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ee4;
/* rgb */ color: rgb(126, 94, 228);
/* oklch */ color: oklch(58.4% 0.194 290.0);
Tailwind
colors: {
  custom: {
    50: '#aa8ded',
    500: '#7e5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee4;
$custom-light: #aa8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee4",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 254.328,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.19439,
    "h": 290
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#7E5EE4
secondary
#DBE7B7
accent
#D312A5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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