#7E5EE6#7E5EE6

#7E5EE6 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.197 H 289.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E5EE6
RGBrgb(126, 94, 230)
HSLhsl(254, 73%, 64%)
HSVhsv(254, 59%, 90%)
CMYKcmyk(45.2%, 59.1%, 0%, 9.8%)
CIE-LABlab(49.68, 45.11, -64.89)
CIE-LCHlch(49.68, 79.03, 304.81°)
OKLaboklab(58.52% 0.0666 -0.1853)
OKLCHoklch(58.52% 0.197 289.8)
XYZxyz(26.8858, 18.1532, 76.9349)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EE6 #C6E65E
analogous
#5E82E6 #7E5EE6 #C25EE6
triadic
#7E5EE6 #E67E5E #5EE67E
tetradic
#7E5EE6 #E65E82 #C6E65E #5EE6C2
square
#7E5EE6 #E65E82 #C6E65E #5EE6C2
split-complementary
#7E5EE6 #E6C25E #82E65E
monochromatic
#3E1BAF #5429DE #7E5EE6 #A893EE #D3C8F6

Accessibility & contrast

On white

4.53
#7E5EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7E5EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EE6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EE6#FFFFFF#000000##000000
##7E5EE61.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#5E7D99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ee6;
/* rgb */ color: rgb(126, 94, 230);
/* oklch */ color: oklch(58.5% 0.197 289.8);
Tailwind
colors: {
  custom: {
    50: '#aa8def',
    500: '#7e5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ee6;
$custom-light: #aa8def;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ee6",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 254.118,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.19689,
    "h": 289.8
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#7E5EE6
secondary
#DDE8B8
accent
#D510A7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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