#7F64FE#7F64FE

#7F64FE is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.3% C 0.219 H 286.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7F64FE
RGBrgb(127, 100, 254)
HSLhsl(251, 99%, 69%)
HSVhsv(251, 61%, 100%)
CMYKcmyk(50%, 60.6%, 0%, 0.4%)
CIE-LABlab(52.71, 48.73, -73.39)
CIE-LCHlch(52.71, 88.10, 303.58°)
OKLaboklab(61.28% 0.0604 -0.2102)
OKLCHoklch(61.28% 0.219 286)
XYZxyz(31.1937, 20.7806, 96.1141)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64FE #E3FE64
analogous
#6496FE #7F64FE #CC64FE
triadic
#7F64FE #FE7F64 #64FE7F
tetradic
#7F64FE #FE6496 #E3FE64 #64FECC
square
#7F64FE #FE6496 #E3FE64 #64FECC
split-complementary
#7F64FE #FECC64 #96FE64
monochromatic
#2A01E6 #4D27FE #7F64FE #B1A1FE #E3DEFF

Accessibility & contrast

On white

4.07
#7F64FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7F64FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64FE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64FE#FFFFFF#000000##000000
##7F64FE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#5089A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f64fe;
/* rgb */ color: rgb(127, 100, 254);
/* oklch */ color: oklch(61.3% 0.219 286.0);
Tailwind
colors: {
  custom: {
    50: '#ad91ff',
    500: '#7f64fe',
    950: '#000000',
  },
}
SCSS
$custom: #7f64fe;
$custom-light: #ad91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64fe",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 250.519,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.21876,
    "h": 286
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#7F64FE
secondary
#EDF5C9
accent
#E600BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F64FE

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

Preview Lab → · Contrast checker → · Palette generator →

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