#7E64FB#7E64FB

#7E64FB is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.0% C 0.215 H 286.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7E64FB
RGBrgb(126, 100, 251)
HSLhsl(250, 95%, 69%)
HSVhsv(250, 60%, 98%)
CMYKcmyk(49.8%, 60.2%, 0%, 1.6%)
CIE-LABlab(52.41, 47.69, -72.21)
CIE-LCHlch(52.41, 86.54, 303.44°)
OKLaboklab(60.98% 0.0593 -0.2068)
OKLCHoklch(60.98% 0.215 286)
XYZxyz(30.5688, 20.5135, 93.5969)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64FB #E1FB64
analogous
#6496FB #7E64FB #CA64FB
triadic
#7E64FB #FB7E64 #64FB7E
tetradic
#7E64FB #FB6496 #E1FB64 #64FBCA
square
#7E64FB #FB6496 #E1FB64 #64FBCA
split-complementary
#7E64FB #FBCA64 #96FB64
monochromatic
#2B06DF #4C28F9 #7E64FB #B0A0FD #E1DBFE

Accessibility & contrast

On white

4.12
#7E64FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7E64FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64FB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64FB#FFFFFF#000000##000000
##7E64FB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#5088A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e64fb;
/* rgb */ color: rgb(126, 100, 251);
/* oklch */ color: oklch(61.0% 0.215 286.0);
Tailwind
colors: {
  custom: {
    50: '#ac91fe',
    500: '#7e64fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e64fb;
$custom-light: #ac91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64fb",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 250.331,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.21515,
    "h": 286
  },
  "luminance": 0.20515
}

Semantic roles & 50–950 ramp

primary
#7E64FB
secondary
#ECF4C7
accent
#E600BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E64FB

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

Preview Lab → · Contrast checker → · Palette generator →

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