#7E64F0#7E64F0

#7E64F0 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.2% C 0.201 H 287.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7E64F0
RGBrgb(126, 100, 240)
HSLhsl(251, 82%, 67%)
HSVhsv(251, 58%, 94%)
CMYKcmyk(47.5%, 58.3%, 0%, 5.9%)
CIE-LABlab(51.66, 44.54, -67.31)
CIE-LCHlch(51.66, 80.71, 303.49°)
OKLaboklab(60.18% 0.0598 -0.1924)
OKLCHoklch(60.18% 0.201 287.3)
XYZxyz(28.8850, 19.8400, 84.7287)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F0 #D6F064
analogous
#6490F0 #7E64F0 #C464F0
triadic
#7E64F0 #F07E64 #64F07E
tetradic
#7E64F0 #F06490 #D6F064 #64F0C4
square
#7E64F0 #F06490 #D6F064 #64F0C4
split-complementary
#7E64F0 #F0C464 #90F064
monochromatic
#3413C6 #502CEB #7E64F0 #AC9CF5 #DBD4FB

Accessibility & contrast

On white

4.23
#7E64F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7E64F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F0#FFFFFF#000000##000000
##7E64F01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#5784A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e64f0;
/* rgb */ color: rgb(126, 100, 240);
/* oklch */ color: oklch(60.2% 0.201 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab91f6',
    500: '#7e64f0',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f0;
$custom-light: #ab91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f0",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 251.143,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.20147,
    "h": 287.3
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#7E64F0
secondary
#E6EEC1
accent
#DF07B7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E64F0

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

Preview Lab → · Contrast checker → · Palette generator →

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