#7C7EF8#7C7EF8

#7C7EF8 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.178 H 279.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7C7EF8
RGBrgb(124, 126, 248)
HSLhsl(239, 90%, 73%)
HSVhsv(239, 50%, 97%)
CMYKcmyk(50%, 49.2%, 0%, 2.7%)
CIE-LABlab(58.02, 31.34, -61.51)
CIE-LCHlch(58.02, 69.04, 297.00°)
OKLaboklab(65.04% 0.0294 -0.1753)
OKLCHoklch(65.04% 0.178 279.5)
XYZxyz(32.7111, 25.9822, 92.0802)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EF8 #F8F67C
analogous
#7CBCF8 #7C7EF8 #B87CF8
triadic
#7C7EF8 #F87C7E #7EF87C
tetradic
#7C7EF8 #F87CBC #F8F67C #7CF8B8
square
#7C7EF8 #F87CBC #F8F67C #7CF8B8
split-complementary
#7C7EF8 #F8B87C #BCF87C
monochromatic
#0D10ED #4245F5 #7C7EF8 #B6B7FB #E2E2FD

Accessibility & contrast

On white

3.39
#7C7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7C7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EF8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EF8#FFFFFF#000000##000000
##7C7EF81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#3887F5
Tritanopia (blue-blind)
#4A99AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c7ef8;
/* rgb */ color: rgb(124, 126, 248);
/* oklch */ color: oklch(65.0% 0.178 279.5);
Tailwind
colors: {
  custom: {
    50: '#a9a3fb',
    500: '#7c7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7c7ef8;
$custom-light: #a9a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7ef8",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 239.032,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65042,
    "c": 0.17772,
    "h": 279.5
  },
  "luminance": 0.25984
}

Semantic roles & 50–950 ramp

primary
#7C7EF8
secondary
#F6F5D5
accent
#E200E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7C7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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