#7E64E9#7E64E9

#7E64E9 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.193 H 288.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7E64E9
RGBrgb(126, 100, 233)
HSLhsl(252, 75%, 65%)
HSVhsv(252, 57%, 91%)
CMYKcmyk(45.9%, 57.1%, 0%, 8.6%)
CIE-LABlab(51.19, 42.55, -64.14)
CIE-LCHlch(51.19, 76.97, 303.56°)
OKLaboklab(59.69% 0.0599 -0.1831)
OKLCHoklch(59.69% 0.193 288.1)
XYZxyz(27.8651, 19.4320, 79.3575)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64E9 #CFE964
analogous
#648DE9 #7E64E9 #C064E9
triadic
#7E64E9 #E97E64 #64E97E
tetradic
#7E64E9 #E9648D #CFE964 #64E9C0
square
#7E64E9 #E9648D #CFE964 #64E9C0
split-complementary
#7E64E9 #E9C064 #8DE964
monochromatic
#391AB8 #512EE1 #7E64E9 #AB9AF1 #D7CFF8

Accessibility & contrast

On white

4.30
#7E64E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7E64E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64E9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64E9#FFFFFF#000000##000000
##7E64E91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#0276E6
Tritanopia (blue-blind)
#5C829D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e64e9;
/* rgb */ color: rgb(126, 100, 233);
/* oklch */ color: oklch(59.7% 0.193 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa91f1',
    500: '#7e64e9',
    950: '#000000',
  },
}
SCSS
$custom: #7e64e9;
$custom-light: #aa91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64e9",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 251.729,
    "s": 75.141,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.19264,
    "h": 288.1
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#7E64E9
secondary
#E2EBBE
accent
#D70EB0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E64E9

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

Preview Lab → · Contrast checker → · Palette generator →

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