#7C64F4#7C64F4

#7C64F4 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.3% C 0.207 H 286.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7C64F4
RGBrgb(124, 100, 244)
HSLhsl(250, 87%, 67%)
HSVhsv(250, 59%, 96%)
CMYKcmyk(49.2%, 59%, 0%, 4.3%)
CIE-LABlab(51.76, 45.30, -69.39)
CIE-LCHlch(51.76, 82.86, 303.14°)
OKLaboklab(60.3% 0.0572 -0.1986)
OKLCHoklch(60.3% 0.207 286.1)
XYZxyz(29.1937, 19.9297, 87.8790)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64F4 #DCF464
analogous
#6494F4 #7C64F4 #C464F4
triadic
#7C64F4 #F47C64 #64F47C
tetradic
#7C64F4 #F46494 #DCF464 #64F4C4
square
#7C64F4 #F46494 #DCF464 #64F4C4
split-complementary
#7C64F4 #F4C464 #94F464
monochromatic
#2F0FCF #4C2BF0 #7C64F4 #AC9DF8 #DDD6FC

Accessibility & contrast

On white

4.21
#7C64F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7C64F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64F4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64F4#FFFFFF#000000##000000
##7C64F41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#5185A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c64f4;
/* rgb */ color: rgb(124, 100, 244);
/* oklch */ color: oklch(60.3% 0.207 286.1);
Tailwind
colors: {
  custom: {
    50: '#aa91f9',
    500: '#7c64f4',
    950: '#000000',
  },
}
SCSS
$custom: #7c64f4;
$custom-light: #aa91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64f4",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 250,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60303,
    "c": 0.20663,
    "h": 286.1
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#7C64F4
secondary
#E9F0C3
accent
#E302BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C64F4

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

Preview Lab → · Contrast checker → · Palette generator →

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