#7E64FD#7E64FD

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

Color values

HEX#7E64FD
RGBrgb(126, 100, 253)
HSLhsl(250, 97%, 69%)
HSVhsv(250, 60%, 99%)
CMYKcmyk(50.2%, 60.5%, 0%, 0.8%)
CIE-LABlab(52.55, 48.26, -73.09)
CIE-LCHlch(52.55, 87.59, 303.44°)
OKLaboklab(61.12% 0.0592 -0.2094)
OKLCHoklch(61.12% 0.218 285.8)
XYZxyz(30.8857, 20.6403, 95.2660)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64FD #E3FD64
analogous
#6497FD #7E64FD #CB64FD
triadic
#7E64FD #FD7E64 #64FD7E
tetradic
#7E64FD #FD6497 #E3FD64 #64FDCB
square
#7E64FD #FD6497 #E3FD64 #64FDCB
split-complementary
#7E64FD #FDCB64 #97FD64
monochromatic
#2903E4 #4C28FC #7E64FD #B0A0FE #E3DDFF

Accessibility & contrast

On white

4.09
#7E64FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7E64FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64FD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64FD#FFFFFF#000000##000000
##7E64FD1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#4E88A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e64fd;
/* rgb */ color: rgb(126, 100, 253);
/* oklch */ color: oklch(61.1% 0.218 285.8);
Tailwind
colors: {
  custom: {
    50: '#ac91ff',
    500: '#7e64fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e64fd;
$custom-light: #ac91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64fd",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 253
  },
  "hsl": {
    "h": 250.196,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61125,
    "c": 0.21762,
    "h": 285.8
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#7E64FD
secondary
#EDF5C8
accent
#E600BF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E64FD

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

Preview Lab → · Contrast checker → · Palette generator →

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