#7E64F9#7E64F9

#7E64F9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.8% C 0.213 H 286.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E64F9
RGBrgb(126, 100, 249)
HSLhsl(250, 93%, 68%)
HSVhsv(250, 60%, 98%)
CMYKcmyk(49.4%, 59.8%, 0%, 2.4%)
CIE-LABlab(52.27, 47.11, -71.33)
CIE-LCHlch(52.27, 85.48, 303.45°)
OKLaboklab(60.83% 0.0594 -0.2042)
OKLCHoklch(60.83% 0.213 286.2)
XYZxyz(30.2552, 20.3881, 91.9453)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F9 #DFF964
analogous
#6494F9 #7E64F9 #C864F9
triadic
#7E64F9 #F97E64 #64F97E
tetradic
#7E64F9 #F96494 #DFF964 #64F9C8
square
#7E64F9 #F96494 #DFF964 #64F9C8
split-complementary
#7E64F9 #F9C864 #94F964
monochromatic
#2D08DA #4D29F7 #7E64F9 #AF9FFB #E0DAFE

Accessibility & contrast

On white

4.14
#7E64F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7E64F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F9#FFFFFF#000000##000000
##7E64F91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#5187A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e64f9;
/* rgb */ color: rgb(126, 100, 249);
/* oklch */ color: oklch(60.8% 0.213 286.2);
Tailwind
colors: {
  custom: {
    50: '#ac91fc',
    500: '#7e64f9',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f9;
$custom-light: #ac91fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f9",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 250.47,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.21268,
    "h": 286.2
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E64F9

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

Preview Lab → · Contrast checker → · Palette generator →

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