#7E64F6#7E64F6

#7E64F6 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.6% C 0.209 H 286.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7E64F6
RGBrgb(126, 100, 246)
HSLhsl(251, 89%, 68%)
HSVhsv(251, 59%, 96%)
CMYKcmyk(48.8%, 59.3%, 0%, 3.5%)
CIE-LABlab(52.07, 46.26, -70.00)
CIE-LCHlch(52.07, 83.90, 303.46°)
OKLaboklab(60.61% 0.0596 -0.2003)
OKLCHoklch(60.61% 0.209 286.6)
XYZxyz(29.7910, 20.2024, 89.5006)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F6 #DCF664
analogous
#6493F6 #7E64F6 #C764F6
triadic
#7E64F6 #F67E64 #64F67E
tetradic
#7E64F6 #F66493 #DCF664 #64F6C7
square
#7E64F6 #F66493 #DCF664 #64F6C7
split-complementary
#7E64F6 #F6C764 #93F664
monochromatic
#300CD3 #4E2AF3 #7E64F6 #AE9EF9 #DED8FD

Accessibility & contrast

On white

4.17
#7E64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7E64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F6#FFFFFF#000000##000000
##7E64F61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#5386A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e64f6;
/* rgb */ color: rgb(126, 100, 246);
/* oklch */ color: oklch(60.6% 0.209 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac91fa',
    500: '#7e64f6',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f6;
$custom-light: #ac91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f6",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 250.685,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.20897,
    "h": 286.6
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#7E64F6
secondary
#E9F1C4
accent
#E600BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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