#7C8CFD#7C8CFD

#7C8CFD is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.166 H 275.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7C8CFD
RGBrgb(124, 140, 253)
HSLhsl(233, 97%, 74%)
HSVhsv(233, 51%, 99%)
CMYKcmyk(51%, 44.7%, 0%, 0.8%)
CIE-LABlab(61.77, 24.59, -58.27)
CIE-LCHlch(61.77, 63.24, 292.88°)
OKLaboklab(67.97% 0.0146 -0.1656)
OKLCHoklch(67.97% 0.166 275)
XYZxyz(35.4143, 30.1309, 96.8592)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CFD #FDED7C
analogous
#7CCDFD #7C8CFD #AD7CFD
triadic
#7C8CFD #FD7C8C #8CFD7C
tetradic
#7C8CFD #FD7CCD #FDED7C #7CFDAD
square
#7C8CFD #FD7CCD #FDED7C #7CFDAD
split-complementary
#7C8CFD #FDAD7C #CDFD7C
monochromatic
#0422FB #4057FC #7C8CFD #B8C1FE #E1E5FF

Accessibility & contrast

On white

2.99
#7C8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7C8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8CFD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CFD#FFFFFF#000000##000000
##7C8CFD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#44A4B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8cfd;
/* rgb */ color: rgb(124, 140, 253);
/* oklch */ color: oklch(68.0% 0.166 275.0);
Tailwind
colors: {
  custom: {
    50: '#a9adff',
    500: '#7c8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cfd;
$custom-light: #a9adff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cfd",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 232.558,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6797,
    "c": 0.16627,
    "h": 275
  },
  "luminance": 0.30133
}

Semantic roles & 50–950 ramp

primary
#7C8CFD
secondary
#F7F3D4
accent
#C900E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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