#7C8CF8#7C8CF8

#7C8CF8 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.159 H 275.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7C8CF8
RGBrgb(124, 140, 248)
HSLhsl(232, 90%, 73%)
HSVhsv(232, 50%, 97%)
CMYKcmyk(50%, 43.5%, 0%, 2.7%)
CIE-LABlab(61.50, 23.08, -55.96)
CIE-LCHlch(61.50, 60.53, 292.41°)
OKLaboklab(67.68% 0.0138 -0.1588)
OKLCHoklch(67.68% 0.159 275)
XYZxyz(34.6282, 29.8164, 92.7192)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CF8 #F8E87C
analogous
#7CCAF8 #7C8CF8 #AA7CF8
triadic
#7C8CF8 #F87C8C #8CF87C
tetradic
#7C8CF8 #F87CCA #F8E87C #7CF8AA
square
#7C8CF8 #F87CCA #F8E87C #7CF8AA
split-complementary
#7C8CF8 #F8AA7C #CAF87C
monochromatic
#0D2AED #4259F5 #7C8CF8 #B6BFFB #E2E6FD

Accessibility & contrast

On white

3.02
#7C8CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7C8CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CF8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CF8#FFFFFF#000000##000000
##7C8CF81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#48A3B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8cf8;
/* rgb */ color: rgb(124, 140, 248);
/* oklch */ color: oklch(67.7% 0.159 275.0);
Tailwind
colors: {
  custom: {
    50: '#a9adfb',
    500: '#7c8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cf8;
$custom-light: #a9adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cf8",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 232.258,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.15945,
    "h": 275
  },
  "luminance": 0.29819
}

Semantic roles & 50–950 ramp

primary
#7C8CF8
secondary
#F6F1D5
accent
#C800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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