#7E64FC#7E64FC

#7E64FC is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.1% C 0.216 H 285.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7E64FC
RGBrgb(126, 100, 252)
HSLhsl(250, 96%, 69%)
HSVhsv(250, 60%, 99%)
CMYKcmyk(50%, 60.3%, 0%, 1.2%)
CIE-LABlab(52.48, 47.97, -72.65)
CIE-LCHlch(52.48, 87.06, 303.44°)
OKLaboklab(61.05% 0.0593 -0.2081)
OKLCHoklch(61.05% 0.216 285.9)
XYZxyz(30.7268, 20.5767, 94.4292)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64FC #E2FC64
analogous
#6496FC #7E64FC #CA64FC
triadic
#7E64FC #FC7E64 #64FC7E
tetradic
#7E64FC #FC6496 #E2FC64 #64FCCA
square
#7E64FC #FC6496 #E2FC64 #64FCCA
split-complementary
#7E64FC #FCCA64 #96FC64
monochromatic
#2A04E1 #4C28FB #7E64FC #B0A0FD #E2DCFE

Accessibility & contrast

On white

4.11
#7E64FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7E64FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64FC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64FC#FFFFFF#000000##000000
##7E64FC1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079F9
Tritanopia (blue-blind)
#4F88A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e64fc;
/* rgb */ color: rgb(126, 100, 252);
/* oklch */ color: oklch(61.1% 0.216 285.9);
Tailwind
colors: {
  custom: {
    50: '#ac91fe',
    500: '#7e64fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e64fc;
$custom-light: #ac91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64fc",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 252
  },
  "hsl": {
    "h": 250.263,
    "s": 96.203,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.21639,
    "h": 285.9
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E64FC

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

Preview Lab → · Contrast checker → · Palette generator →

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