#7E64F7#7E64F7

#7E64F7 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.7% C 0.210 H 286.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7E64F7
RGBrgb(126, 100, 247)
HSLhsl(251, 90%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(49%, 59.5%, 0%, 3.1%)
CIE-LABlab(52.13, 46.54, -70.44)
CIE-LCHlch(52.13, 84.43, 303.45°)
OKLaboklab(60.69% 0.0595 -0.2016)
OKLCHoklch(60.69% 0.21 286.5)
XYZxyz(29.9449, 20.2639, 90.3111)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F7 #DDF764
analogous
#6493F7 #7E64F7 #C764F7
triadic
#7E64F7 #F77E64 #64F77E
tetradic
#7E64F7 #F76493 #DDF764 #64F7C7
square
#7E64F7 #F76493 #DDF764 #64F7C7
split-complementary
#7E64F7 #F7C764 #93F764
monochromatic
#2F0BD6 #4E2AF4 #7E64F7 #AE9EFA #DFD8FD

Accessibility & contrast

On white

4.16
#7E64F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7E64F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F7#FFFFFF#000000##000000
##7E64F71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#5386A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e64f7;
/* rgb */ color: rgb(126, 100, 247);
/* oklch */ color: oklch(60.7% 0.210 286.5);
Tailwind
colors: {
  custom: {
    50: '#ac91fb',
    500: '#7e64f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f7;
$custom-light: #ac91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f7",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 250.612,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.21021,
    "h": 286.5
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#7E64F7
secondary
#EAF2C5
accent
#E600BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E64F7

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

Preview Lab → · Contrast checker → · Palette generator →

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