#7E5EEB#7E5EEB

#7E5EEB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.203 H 289.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E5EEB
RGBrgb(126, 94, 235)
HSLhsl(254, 78%, 65%)
HSVhsv(254, 60%, 92%)
CMYKcmyk(46.4%, 60%, 0%, 7.8%)
CIE-LABlab(50.02, 46.51, -67.15)
CIE-LCHlch(50.02, 81.69, 304.71°)
OKLaboklab(58.88% 0.0663 -0.1919)
OKLCHoklch(58.88% 0.203 289.1)
XYZxyz(27.5980, 18.4381, 80.6859)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EEB #CBEB5E
analogous
#5E85EB #7E5EEB #C55EEB
triadic
#7E5EEB #EB7E5E #5EEB7E
tetradic
#7E5EEB #EB5E85 #CBEB5E #5EEBC5
square
#7E5EEB #EB5E85 #CBEB5E #5EEBC5
split-complementary
#7E5EEB #EBC55E #85EB5E
monochromatic
#3B17B8 #5228E4 #7E5EEB #AA94F2 #D5CBF9

Accessibility & contrast

On white

4.48
#7E5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7E5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EEB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EEB#FFFFFF#000000##000000
##7E5EEB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#5B7F9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5eeb;
/* rgb */ color: rgb(126, 94, 235);
/* oklch */ color: oklch(58.9% 0.203 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab8df2',
    500: '#7e5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #7e5eeb;
$custom-light: #ab8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5eeb",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 253.617,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.20309,
    "h": 289.1
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#7E5EEB
secondary
#E0EBBA
accent
#DA0BAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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