#7C8DFE#7C8DFE

#7C8DFE is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.166 H 274.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7C8DFE
RGBrgb(124, 141, 254)
HSLhsl(232, 98%, 74%)
HSVhsv(232, 51%, 100%)
CMYKcmyk(51.2%, 44.5%, 0%, 0.4%)
CIE-LABlab(62.07, 24.30, -58.33)
CIE-LCHlch(62.07, 63.19, 292.62°)
OKLaboklab(68.22% 0.0136 -0.1658)
OKLCHoklch(68.22% 0.166 274.7)
XYZxyz(35.7208, 30.4883, 97.7493)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DFE #FEED7C
analogous
#7CCEFE #7C8DFE #AC7CFE
triadic
#7C8DFE #FE7C8D #8DFE7C
tetradic
#7C8DFE #FE7CCE #FEED7C #7CFEAC
square
#7C8DFE #FE7CCE #FEED7C #7CFEAC
split-complementary
#7C8DFE #FEAC7C #CEFE7C
monochromatic
#0323FD #3F58FE #7C8DFE #B9C2FE #E1E5FF

Accessibility & contrast

On white

2.96
#7C8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7C8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8DFE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DFE#FFFFFF#000000##000000
##7C8DFE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#43A5B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8dfe;
/* rgb */ color: rgb(124, 141, 254);
/* oklch */ color: oklch(68.2% 0.166 274.7);
Tailwind
colors: {
  custom: {
    50: '#a9aeff',
    500: '#7c8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dfe;
$custom-light: #a9aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dfe",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 232.154,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68221,
    "c": 0.16636,
    "h": 274.7
  },
  "luminance": 0.30491
}

Semantic roles & 50–950 ramp

primary
#7C8DFE
secondary
#F7F2D4
accent
#C700E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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