#7C64FE#7C64FE

#7C64FE is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 61.0% C 0.219 H 285.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C64FE
RGBrgb(124, 100, 254)
HSLhsl(249, 99%, 69%)
HSVhsv(249, 61%, 100%)
CMYKcmyk(51.2%, 60.6%, 0%, 0.4%)
CIE-LABlab(52.46, 48.18, -73.81)
CIE-LCHlch(52.46, 88.15, 303.14°)
OKLaboklab(61.04% 0.0567 -0.2116)
OKLCHoklch(61.04% 0.219 285)
XYZxyz(30.7534, 20.5536, 96.0935)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64FE #E6FE64
analogous
#6499FE #7C64FE #C964FE
triadic
#7C64FE #FE7C64 #64FE7C
tetradic
#7C64FE #FE6499 #E6FE64 #64FEC9
square
#7C64FE #FE6499 #E6FE64 #64FEC9
split-complementary
#7C64FE #FEC964 #99FE64
monochromatic
#2501E6 #4927FE #7C64FE #AFA1FE #E3DEFF

Accessibility & contrast

On white

4.11
#7C64FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7C64FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64FE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64FE#FFFFFF#000000##000000
##7C64FE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#4989A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c64fe;
/* rgb */ color: rgb(124, 100, 254);
/* oklch */ color: oklch(61.0% 0.219 285.0);
Tailwind
colors: {
  custom: {
    50: '#ab91ff',
    500: '#7c64fe',
    950: '#000000',
  },
}
SCSS
$custom: #7c64fe;
$custom-light: #ab91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64fe",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 249.351,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.21904,
    "h": 285
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#7C64FE
secondary
#EEF5C9
accent
#E600C2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C64FE

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

Preview Lab → · Contrast checker → · Palette generator →

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