#7C64F8#7C64F8

#7C64F8 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.6% C 0.212 H 285.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7C64F8
RGBrgb(124, 100, 248)
HSLhsl(250, 91%, 68%)
HSVhsv(250, 60%, 97%)
CMYKcmyk(50%, 59.7%, 0%, 2.7%)
CIE-LABlab(52.03, 46.45, -71.17)
CIE-LCHlch(52.03, 84.98, 303.13°)
OKLaboklab(60.59% 0.057 -0.2038)
OKLCHoklch(60.59% 0.212 285.6)
XYZxyz(29.8076, 20.1753, 91.1123)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64F8 #E0F864
analogous
#6496F8 #7C64F8 #C664F8
triadic
#7C64F8 #F87C64 #64F87C
tetradic
#7C64F8 #F86496 #E0F864 #64F8C6
square
#7C64F8 #F86496 #E0F864 #64F8C6
split-complementary
#7C64F8 #F8C664 #96F864
monochromatic
#2B0AD8 #4B29F5 #7C64F8 #AD9FFB #DFD9FD

Accessibility & contrast

On white

4.17
#7C64F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7C64F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64F8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64F8#FFFFFF#000000##000000
##7C64F81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#4E87A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c64f8;
/* rgb */ color: rgb(124, 100, 248);
/* oklch */ color: oklch(60.6% 0.212 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab91fb',
    500: '#7c64f8',
    950: '#000000',
  },
}
SCSS
$custom: #7c64f8;
$custom-light: #ab91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64f8",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 249.73,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.21162,
    "h": 285.6
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#7C64F8
secondary
#EBF2C5
accent
#E600C0
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7C64F8

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

Preview Lab → · Contrast checker → · Palette generator →

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