#7E64F5#7E64F5

#7E64F5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.5% C 0.208 H 286.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E64F5
RGBrgb(126, 100, 245)
HSLhsl(251, 88%, 68%)
HSVhsv(251, 59%, 96%)
CMYKcmyk(48.6%, 59.2%, 0%, 3.9%)
CIE-LABlab(52.00, 45.97, -69.55)
CIE-LCHlch(52.00, 83.37, 303.46°)
OKLaboklab(60.54% 0.0596 -0.199)
OKLCHoklch(60.54% 0.208 286.7)
XYZxyz(29.6380, 20.1412, 88.6945)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F5 #DBF564
analogous
#6492F5 #7E64F5 #C764F5
triadic
#7E64F5 #F57E64 #64F57E
tetradic
#7E64F5 #F56492 #DBF564 #64F5C7
square
#7E64F5 #F56492 #DBF564 #64F5C7
split-complementary
#7E64F5 #F5C764 #92F564
monochromatic
#310DD1 #4E2BF1 #7E64F5 #AE9DF9 #DED7FC

Accessibility & contrast

On white

4.18
#7E64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7E64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F5#FFFFFF#000000##000000
##7E64F51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#5486A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e64f5;
/* rgb */ color: rgb(126, 100, 245);
/* oklch */ color: oklch(60.5% 0.208 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac91f9',
    500: '#7e64f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f5;
$custom-light: #ac91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f5",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 250.759,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60541,
    "c": 0.20772,
    "h": 286.7
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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