#7C64FB#7C64FB

#7C64FB is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.8% C 0.215 H 285.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C64FB
RGBrgb(124, 100, 251)
HSLhsl(250, 95%, 69%)
HSVhsv(250, 60%, 98%)
CMYKcmyk(50.6%, 60.2%, 0%, 1.6%)
CIE-LABlab(52.25, 47.32, -72.49)
CIE-LCHlch(52.25, 86.57, 303.13°)
OKLaboklab(60.81% 0.0568 -0.2077)
OKLCHoklch(60.81% 0.215 285.3)
XYZxyz(30.2767, 20.3629, 93.5832)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C64FB #E3FB64
analogous
#6498FB #7C64FB #C764FB
triadic
#7C64FB #FB7C64 #64FB7C
tetradic
#7C64FB #FB6498 #E3FB64 #64FBC7
square
#7C64FB #FB6498 #E3FB64 #64FBC7
split-complementary
#7C64FB #FBC764 #98FB64
monochromatic
#2806DF #4A28F9 #7C64FB #AEA0FD #E1DBFE

Accessibility & contrast

On white

4.14
#7C64FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7C64FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C64FB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C64FB#FFFFFF#000000##000000
##7C64FB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c64fb;
/* rgb */ color: rgb(124, 100, 251);
/* oklch */ color: oklch(60.8% 0.215 285.3);
Tailwind
colors: {
  custom: {
    50: '#ab91fe',
    500: '#7c64fb',
    950: '#000000',
  },
}
SCSS
$custom: #7c64fb;
$custom-light: #ab91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c64fb",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 249.536,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.21533,
    "h": 285.3
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C64FB

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

Preview Lab → · Contrast checker → · Palette generator →

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