#7E5EEE#7E5EEE

#7E5EEE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.207 H 288.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E5EEE
RGBrgb(126, 94, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(47.1%, 60.5%, 0%, 6.7%)
CIE-LABlab(50.23, 47.35, -68.50)
CIE-LCHlch(50.23, 83.27, 304.66°)
OKLaboklab(59.1% 0.0662 -0.1959)
OKLCHoklch(59.1% 0.207 288.7)
XYZxyz(28.0351, 18.6129, 82.9878)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EEE #CEEE5E
analogous
#5E86EE #7E5EEE #C65EEE
triadic
#7E5EEE #EE7E5E #5EEE7E
tetradic
#7E5EEE #EE5E86 #CEEE5E #5EEEC6
square
#7E5EEE #EE5E86 #CEEE5E #5EEEC6
split-complementary
#7E5EEE #EEC65E #86EE5E
monochromatic
#3A14BE #5227E8 #7E5EEE #AA95F4 #D7CDFA

Accessibility & contrast

On white

4.45
#7E5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7E5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EEE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EEE#FFFFFF#000000##000000
##7E5EEE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#597F9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5eee;
/* rgb */ color: rgb(126, 94, 238);
/* oklch */ color: oklch(59.1% 0.207 288.7);
Tailwind
colors: {
  custom: {
    50: '#ab8df4',
    500: '#7e5eee',
    950: '#000000',
  },
}
SCSS
$custom: #7e5eee;
$custom-light: #ab8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5eee",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 253.333,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.20679,
    "h": 288.7
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#7E5EEE
secondary
#E1ECBB
accent
#DD08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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