#7C8EFB#7C8EFB

#7C8EFB is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.161 H 274.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7C8EFB
RGBrgb(124, 142, 251)
HSLhsl(231, 94%, 74%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(50.6%, 43.4%, 0%, 1.6%)
CIE-LABlab(62.16, 22.81, -56.54)
CIE-LCHlch(62.16, 60.97, 291.97°)
OKLaboklab(68.24% 0.012 -0.1605)
OKLCHoklch(68.24% 0.161 274.3)
XYZxyz(35.3922, 30.5939, 95.2883)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EFB #FBE97C
analogous
#7CCDFB #7C8EFB #A97CFB
triadic
#7C8EFB #FB7C8E #8EFB7C
tetradic
#7C8EFB #FB7CCD #FBE97C #7CFBA9
square
#7C8EFB #FB7CCD #FBE97C #7CFBA9
split-complementary
#7C8EFB #FBA97C #CDFB7C
monochromatic
#0729F5 #415BF9 #7C8EFB #B7C1FD #E1E5FE

Accessibility & contrast

On white

2.95
#7C8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7C8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EFB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EFB#FFFFFF#000000##000000
##7C8EFB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#45A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8efb;
/* rgb */ color: rgb(124, 142, 251);
/* oklch */ color: oklch(68.2% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#a9aefd',
    500: '#7c8efb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8efb;
$custom-light: #a9aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8efb",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 231.496,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68237,
    "c": 0.161,
    "h": 274.3
  },
  "luminance": 0.30596
}

Semantic roles & 50–950 ramp

primary
#7C8EFB
secondary
#F6F2D5
accent
#C500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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