#7E5EE7#7E5EE7

#7E5EE7 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.198 H 289.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE7
RGBrgb(126, 94, 231)
HSLhsl(254, 74%, 64%)
HSVhsv(254, 59%, 91%)
CMYKcmyk(45.5%, 59.3%, 0%, 9.4%)
CIE-LABlab(49.75, 45.39, -65.35)
CIE-LCHlch(49.75, 79.56, 304.78°)
OKLaboklab(58.59% 0.0665 -0.1866)
OKLCHoklch(58.59% 0.198 289.6)
XYZxyz(27.0266, 18.2095, 77.6766)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE7 #C7E75E
analogous
#5E82E7 #7E5EE7 #C35EE7
triadic
#7E5EE7 #E77E5E #5EE77E
tetradic
#7E5EE7 #E75E82 #C7E75E #5EE7C3
square
#7E5EE7 #E75E82 #C7E75E #5EE7C3
split-complementary
#7E5EE7 #E7C35E #82E75E
monochromatic
#3D1AB0 #5329DF #7E5EE7 #A993EF #D3C9F7

Accessibility & contrast

On white

4.52
#7E5EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE7#FFFFFF#000000##000000
##7E5EE71.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#5D7D9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ee7;
/* rgb */ color: rgb(126, 94, 231);
/* oklch */ color: oklch(58.6% 0.198 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa8def',
    500: '#7e5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee7;
$custom-light: #aa8def;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee7",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 254.015,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.19813,
    "h": 289.6
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#7E5EE7
secondary
#DDE9B8
accent
#D60FA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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