#7E64EA#7E64EA

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

Color values

HEX#7E64EA
RGBrgb(126, 100, 234)
HSLhsl(252, 76%, 65%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(46.2%, 57.3%, 0%, 8.2%)
CIE-LABlab(51.25, 42.83, -64.60)
CIE-LCHlch(51.25, 77.51, 303.55°)
OKLaboklab(59.76% 0.0599 -0.1844)
OKLCHoklch(59.76% 0.194 288)
XYZxyz(28.0084, 19.4893, 80.1120)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64EA #D0EA64
analogous
#648DEA #7E64EA #C164EA
triadic
#7E64EA #EA7E64 #64EA7E
tetradic
#7E64EA #EA648D #D0EA64 #64EAC1
square
#7E64EA #EA648D #D0EA64 #64EAC1
split-complementary
#7E64EA #EAC164 #8DEA64
monochromatic
#3919BA #512EE3 #7E64EA #AB9AF1 #D8D0F9

Accessibility & contrast

On white

4.29
#7E64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64EA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64EA#FFFFFF#000000##000000
##7E64EA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#5B829D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e64ea;
/* rgb */ color: rgb(126, 100, 234);
/* oklch */ color: oklch(59.8% 0.194 288.0);
Tailwind
colors: {
  custom: {
    50: '#aa91f1',
    500: '#7e64ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e64ea;
$custom-light: #aa91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64ea",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 251.642,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.1939,
    "h": 288
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#7E64EA
secondary
#E3EBBE
accent
#D80DB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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