#7C8EF7#7C8EF7

#7C8EF7 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.156 H 274.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7C8EF7
RGBrgb(124, 142, 247)
HSLhsl(231, 88%, 73%)
HSVhsv(231, 50%, 97%)
CMYKcmyk(49.8%, 42.5%, 0%, 3.1%)
CIE-LABlab(61.95, 21.60, -54.68)
CIE-LCHlch(61.95, 58.79, 291.55°)
OKLaboklab(68.01% 0.0114 -0.1551)
OKLCHoklch(68.01% 0.156 274.2)
XYZxyz(34.7684, 30.3443, 92.0026)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EF7 #F7E57C
analogous
#7CCBF7 #7C8EF7 #A87CF7
triadic
#7C8EF7 #F77C8E #8EF77C
tetradic
#7C8EF7 #F77CCB #F7E57C #7CF7A8
square
#7C8EF7 #F77CCB #F7E57C #7CF7A8
split-complementary
#7C8EF7 #F7A87C #CBF77C
monochromatic
#0E2EEA #425CF3 #7C8EF7 #B6C0FB #E2E6FD

Accessibility & contrast

On white

2.97
#7C8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7C8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EF7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EF7#FFFFFF#000000##000000
##7C8EF71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#49A4B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8ef7;
/* rgb */ color: rgb(124, 142, 247);
/* oklch */ color: oklch(68.0% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#a9aefa',
    500: '#7c8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ef7;
$custom-light: #a9aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ef7",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 231.22,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68005,
    "c": 0.15552,
    "h": 274.2
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#7C8EF7
secondary
#F5F1D6
accent
#C400E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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