#7E5EE8#7E5EE8

#7E5EE8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.199 H 289.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE8
RGBrgb(126, 94, 232)
HSLhsl(254, 75%, 64%)
HSVhsv(254, 59%, 91%)
CMYKcmyk(45.7%, 59.5%, 0%, 9%)
CIE-LABlab(49.82, 45.67, -65.80)
CIE-LCHlch(49.82, 80.09, 304.76°)
OKLaboklab(58.66% 0.0665 -0.188)
OKLCHoklch(58.66% 0.199 289.5)
XYZxyz(27.1682, 18.2662, 78.4225)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE8 #C8E85E
analogous
#5E83E8 #7E5EE8 #C35EE8
triadic
#7E5EE8 #E87E5E #5EE87E
tetradic
#7E5EE8 #E85E83 #C8E85E #5EE8C3
square
#7E5EE8 #E85E83 #C8E85E #5EE8C3
split-complementary
#7E5EE8 #E8C35E #83E85E
monochromatic
#3D19B2 #5328E0 #7E5EE8 #A994F0 #D4C9F7

Accessibility & contrast

On white

4.51
#7E5EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7E5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE8#FFFFFF#000000##000000
##7E5EE81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#5D7E9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ee8;
/* rgb */ color: rgb(126, 94, 232);
/* oklch */ color: oklch(58.7% 0.199 289.5);
Tailwind
colors: {
  custom: {
    50: '#aa8df0',
    500: '#7e5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee8;
$custom-light: #aa8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee8",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 253.913,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.19937,
    "h": 289.5
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#7E5EE8
secondary
#DEE9B9
accent
#D70EA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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