#7E64EB#7E64EB

#7E64EB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.195 H 287.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7E64EB
RGBrgb(126, 100, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(46.4%, 57.4%, 0%, 7.8%)
CIE-LABlab(51.32, 43.12, -65.05)
CIE-LCHlch(51.32, 78.04, 303.54°)
OKLaboklab(59.83% 0.0599 -0.1858)
OKLCHoklch(59.83% 0.195 287.9)
XYZxyz(28.1524, 19.5470, 80.8707)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64EB #D1EB64
analogous
#648DEB #7E64EB #C264EB
triadic
#7E64EB #EB7E64 #64EB7E
tetradic
#7E64EB #EB648D #D1EB64 #64EBC2
square
#7E64EB #EB648D #D1EB64 #64EBC2
split-complementary
#7E64EB #EBC264 #8DEB64
monochromatic
#3818BC #512EE4 #7E64EB #AB9AF2 #D8D0F9

Accessibility & contrast

On white

4.28
#7E64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7E64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64EB#FFFFFF#000000##000000
##7E64EB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#5B829E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e64eb;
/* rgb */ color: rgb(126, 100, 235);
/* oklch */ color: oklch(59.8% 0.195 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa91f2',
    500: '#7e64eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e64eb;
$custom-light: #aa91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64eb",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 251.556,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.19518,
    "h": 287.9
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#7E64EB
secondary
#E3ECBF
accent
#D90CB2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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