#7E64EE#7E64EE

#7E64EE is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.199 H 287.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7E64EE
RGBrgb(126, 100, 238)
HSLhsl(251, 80%, 66%)
HSVhsv(251, 58%, 93%)
CMYKcmyk(47.1%, 58%, 0%, 6.7%)
CIE-LABlab(51.52, 43.97, -66.41)
CIE-LCHlch(51.52, 79.65, 303.51°)
OKLaboklab(60.04% 0.0598 -0.1897)
OKLCHoklch(60.04% 0.199 287.5)
XYZxyz(28.5895, 19.7218, 83.1726)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64EE #D4EE64
analogous
#648FEE #7E64EE #C364EE
triadic
#7E64EE #EE7E64 #64EE7E
tetradic
#7E64EE #EE648F #D4EE64 #64EEC3
square
#7E64EE #EE648F #D4EE64 #64EEC3
split-complementary
#7E64EE #EEC364 #8FEE64
monochromatic
#3615C2 #502DE8 #7E64EE #AC9BF4 #DAD2FA

Accessibility & contrast

On white

4.25
#7E64EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7E64EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64EE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64EE#FFFFFF#000000##000000
##7E64EE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#59839F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e64ee;
/* rgb */ color: rgb(126, 100, 238);
/* oklch */ color: oklch(60.0% 0.199 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab91f4',
    500: '#7e64ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e64ee;
$custom-light: #ab91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64ee",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 251.304,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.19896,
    "h": 287.5
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#7E64EE
secondary
#E5EDC0
accent
#DD09B5
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E64EE

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

Preview Lab → · Contrast checker → · Palette generator →

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