#7E5EE5#7E5EE5

#7E5EE5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.196 H 289.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE5
RGBrgb(126, 94, 229)
HSLhsl(254, 72%, 63%)
HSVhsv(254, 59%, 90%)
CMYKcmyk(45%, 59%, 0%, 10.2%)
CIE-LABlab(49.61, 44.83, -64.44)
CIE-LCHlch(49.61, 78.50, 304.83°)
OKLaboklab(58.45% 0.0666 -0.184)
OKLCHoklch(58.45% 0.196 289.9)
XYZxyz(26.7458, 18.0972, 76.1974)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE5 #C5E55E
analogous
#5E81E5 #7E5EE5 #C15EE5
triadic
#7E5EE5 #E57E5E #5EE57E
tetradic
#7E5EE5 #E55E81 #C5E55E #5EE5C1
square
#7E5EE5 #E55E81 #C5E55E #5EE5C1
split-complementary
#7E5EE5 #E5C15E #81E55E
monochromatic
#3E1CAD #5429DC #7E5EE5 #A893EE #D2C7F6

Accessibility & contrast

On white

4.55
#7E5EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7E5EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE5#FFFFFF#000000##000000
##7E5EE51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#5F7D99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ee5;
/* rgb */ color: rgb(126, 94, 229);
/* oklch */ color: oklch(58.4% 0.196 289.9);
Tailwind
colors: {
  custom: {
    50: '#aa8dee',
    500: '#7e5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee5;
$custom-light: #aa8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee5",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 254.222,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.19564,
    "h": 289.9
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#7E5EE5
secondary
#DCE7B7
accent
#D411A6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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