#7C8EFE#7C8EFE

#7C8EFE is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.165 H 274.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7C8EFE
RGBrgb(124, 142, 254)
HSLhsl(232, 98%, 74%)
HSVhsv(232, 51%, 100%)
CMYKcmyk(51.2%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.33, 23.71, -57.93)
CIE-LCHlch(62.33, 62.59, 292.26°)
OKLaboklab(68.41% 0.0125 -0.1646)
OKLCHoklch(68.41% 0.165 274.3)
XYZxyz(35.8689, 30.7845, 97.7986)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EFE #FEEC7C
analogous
#7CCFFE #7C8EFE #AB7CFE
triadic
#7C8EFE #FE7C8E #8EFE7C
tetradic
#7C8EFE #FE7CCF #FEEC7C #7CFEAB
square
#7C8EFE #FE7CCF #FEEC7C #7CFEAB
split-complementary
#7C8EFE #FEAB7C #CFFE7C
monochromatic
#0325FD #3F5AFE #7C8EFE #B9C2FE #E1E5FF

Accessibility & contrast

On white

2.93
#7C8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7C8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EFE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EFE#FFFFFF#000000##000000
##7C8EFE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5092FC
Tritanopia (blue-blind)
#42A6BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8efe;
/* rgb */ color: rgb(124, 142, 254);
/* oklch */ color: oklch(68.4% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#a9aeff',
    500: '#7c8efe',
    950: '#000000',
  },
}
SCSS
$custom: #7c8efe;
$custom-light: #a9aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8efe",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 231.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.16508,
    "h": 274.3
  },
  "luminance": 0.30787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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