#7C64FC#7C64FC

#7C64FC is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.9% C 0.217 H 285.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C64FC
RGBrgb(124, 100, 252)
HSLhsl(249, 96%, 69%)
HSVhsv(249, 60%, 99%)
CMYKcmyk(50.8%, 60.3%, 0%, 1.2%)
CIE-LABlab(52.32, 47.61, -72.93)
CIE-LCHlch(52.32, 87.09, 303.13°)
OKLaboklab(60.89% 0.0568 -0.209)
OKLCHoklch(60.89% 0.217 285.2)
XYZxyz(30.4348, 20.4261, 94.4155)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64FC #E4FC64
analogous
#6498FC #7C64FC #C864FC
triadic
#7C64FC #FC7C64 #64FC7C
tetradic
#7C64FC #FC6498 #E4FC64 #64FCC8
square
#7C64FC #FC6498 #E4FC64 #64FCC8
split-complementary
#7C64FC #FCC864 #98FC64
monochromatic
#2704E1 #4928FB #7C64FC #AFA0FD #E1DCFE

Accessibility & contrast

On white

4.13
#7C64FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7C64FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64FC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64FC#FFFFFF#000000##000000
##7C64FC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#4A88A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c64fc;
/* rgb */ color: rgb(124, 100, 252);
/* oklch */ color: oklch(60.9% 0.217 285.2);
Tailwind
colors: {
  custom: {
    50: '#ab91fe',
    500: '#7c64fc',
    950: '#000000',
  },
}
SCSS
$custom: #7c64fc;
$custom-light: #ab91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64fc",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 252
  },
  "hsl": {
    "h": 249.474,
    "s": 96.203,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.21657,
    "h": 285.2
  },
  "luminance": 0.20428
}

Semantic roles & 50–950 ramp

primary
#7C64FC
secondary
#EDF4C8
accent
#E600C1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C64FC

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

Preview Lab → · Contrast checker → · Palette generator →

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