#7C7DF8#7C7DF8

#7C7DF8 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.179 H 279.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7C7DF8
RGBrgb(124, 125, 248)
HSLhsl(240, 90%, 73%)
HSVhsv(240, 50%, 97%)
CMYKcmyk(50%, 49.6%, 0%, 2.7%)
CIE-LABlab(57.78, 31.93, -61.90)
CIE-LCHlch(57.78, 69.65, 297.29°)
OKLaboklab(64.86% 0.0305 -0.1764)
OKLCHoklch(64.86% 0.179 279.8)
XYZxyz(32.5839, 25.7278, 92.0378)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7DF8 #F8F77C
analogous
#7CBBF8 #7C7DF8 #B97CF8
triadic
#7C7DF8 #F87C7D #7DF87C
tetradic
#7C7DF8 #F87CBB #F8F77C #7CF8B9
square
#7C7DF8 #F87CBB #F8F77C #7CF8B9
split-complementary
#7C7DF8 #F8B97C #BBF87C
monochromatic
#0D0EED #4243F5 #7C7DF8 #B6B7FB #E2E2FD

Accessibility & contrast

On white

3.42
#7C7DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7C7DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7DF8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7DF8#FFFFFF#000000##000000
##7C7DF81.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FC
Deuteranopia (green-blind)
#3686F5
Tritanopia (blue-blind)
#4B98AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c7df8;
/* rgb */ color: rgb(124, 125, 248);
/* oklch */ color: oklch(64.9% 0.179 279.8);
Tailwind
colors: {
  custom: {
    50: '#a9a2fb',
    500: '#7c7df8',
    950: '#000000',
  },
}
SCSS
$custom: #7c7df8;
$custom-light: #a9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7df8",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 239.516,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64859,
    "c": 0.17903,
    "h": 279.8
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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