#7C8BF8#7C8BF8

#7C8BF8 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.161 H 275.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7C8BF8
RGBrgb(124, 139, 248)
HSLhsl(233, 90%, 73%)
HSVhsv(233, 50%, 97%)
CMYKcmyk(50%, 44%, 0%, 2.7%)
CIE-LABlab(61.24, 23.67, -56.36)
CIE-LCHlch(61.24, 61.13, 292.78°)
OKLaboklab(67.48% 0.0149 -0.16)
OKLCHoklch(67.48% 0.161 275.3)
XYZxyz(34.4827, 29.5255, 92.6707)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BF8 #F8E97C
analogous
#7CC9F8 #7C8BF8 #AB7CF8
triadic
#7C8BF8 #F87C8B #8BF87C
tetradic
#7C8BF8 #F87CC9 #F8E97C #7CF8AB
square
#7C8BF8 #F87CC9 #F8E97C #7CF8AB
split-complementary
#7C8BF8 #F8AB7C #C9F87C
monochromatic
#0D28ED #4258F5 #7C8BF8 #B6BEFB #E2E5FD

Accessibility & contrast

On white

3.04
#7C8BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7C8BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BF8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BF8#FFFFFF#000000##000000
##7C8BF81.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#48A2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8bf8;
/* rgb */ color: rgb(124, 139, 248);
/* oklch */ color: oklch(67.5% 0.161 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9acfb',
    500: '#7c8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bf8;
$custom-light: #a9acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bf8",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 232.742,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.16074,
    "h": 275.3
  },
  "luminance": 0.29528
}

Semantic roles & 50–950 ramp

primary
#7C8BF8
secondary
#F6F2D5
accent
#CA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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