#7E64E5#7E64E5

#7E64E5 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.188 H 288.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E64E5
RGBrgb(126, 100, 229)
HSLhsl(252, 71%, 65%)
HSVhsv(252, 56%, 90%)
CMYKcmyk(45%, 56.3%, 0%, 10.2%)
CIE-LABlab(50.93, 41.42, -62.32)
CIE-LCHlch(50.93, 74.82, 303.61°)
OKLaboklab(59.41% 0.0599 -0.1777)
OKLCHoklch(59.41% 0.188 288.6)
XYZxyz(27.3002, 19.2061, 76.3822)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64E5 #CBE564
analogous
#648BE5 #7E64E5 #BF64E5
triadic
#7E64E5 #E57E64 #64E57E
tetradic
#7E64E5 #E5648B #CBE564 #64E5BF
square
#7E64E5 #E5648B #CBE564 #64E5BF
split-complementary
#7E64E5 #E5BF64 #8BE564
monochromatic
#3B1EB1 #5230DC #7E64E5 #AA98EE #D5CDF7

Accessibility & contrast

On white

4.34
#7E64E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7E64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64E5#FFFFFF#000000##000000
##7E64E51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#107CE9
Deuteranopia (green-blind)
#1576E2
Tritanopia (blue-blind)
#5E819B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e64e5;
/* rgb */ color: rgb(126, 100, 229);
/* oklch */ color: oklch(59.4% 0.188 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa91ee',
    500: '#7e64e5',
    950: '#000000',
  },
}
SCSS
$custom: #7e64e5;
$custom-light: #aa91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64e5",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 252.093,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59415,
    "c": 0.18754,
    "h": 288.6
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#7E64E5
secondary
#E0E9BC
accent
#D312AC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #7E64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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